// Code generated by go-swagger; DO NOT EDIT.

package models

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// ActivationServiceActivateBody ActivateRequest is used to redeem a given activation code on the specified HCP org and billing account ID.
//
// swagger:model ActivationServiceActivateBody
type ActivationServiceActivateBody struct {

	// billing_account_id is the billing account to use the activation code on.
	BillingAccountID string `json:"billing_account_id,omitempty"`

	// organization_id is the HCP org to use the activation code on.
	OrganizationID string `json:"organization_id,omitempty"`
}

// Validate validates this activation service activate body
func (m *ActivationServiceActivateBody) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this activation service activate body based on context it is used
func (m *ActivationServiceActivateBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *ActivationServiceActivateBody) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *ActivationServiceActivateBody) UnmarshalBinary(b []byte) error {
	var res ActivationServiceActivateBody
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
