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

// GetSharingOptionsOKBody get sharing options Ok body
//
// swagger:model getSharingOptionsOkBody
type GetSharingOptionsOKBody struct {

	// external enabled
	ExternalEnabled bool `json:"externalEnabled,omitempty"`

	// external snapshot name
	ExternalSnapshotName string `json:"externalSnapshotName,omitempty"`

	// external snapshot URL
	ExternalSnapshotURL string `json:"externalSnapshotURL,omitempty"`
}

// Validate validates this get sharing options Ok body
func (m *GetSharingOptionsOKBody) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this get sharing options Ok body based on context it is used
func (m *GetSharingOptionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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