// 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"
)

// AzureConnectionXO azure connection x o
//
// swagger:model AzureConnectionXO
type AzureConnectionXO struct {

	// account key
	AccountKey string `json:"accountKey,omitempty"`

	// account name
	AccountName string `json:"accountName,omitempty"`

	// authentication method
	AuthenticationMethod string `json:"authenticationMethod,omitempty"`

	// container name
	ContainerName string `json:"containerName,omitempty"`
}

// Validate validates this azure connection x o
func (m *AzureConnectionXO) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this azure connection x o based on context it is used
func (m *AzureConnectionXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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