// 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 (
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// AccountUpdateSetup account update setup
//
// swagger:model accountUpdateSetup
type AccountUpdateSetup struct {

	// billing details
	BillingDetails string `json:"billing_details,omitempty"`

	// billing email
	BillingEmail string `json:"billing_email,omitempty"`

	// billing name
	BillingName string `json:"billing_name,omitempty"`

	// extra seats block
	ExtraSeatsBlock int64 `json:"extra_seats_block,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// slug
	Slug string `json:"slug,omitempty"`

	// type id
	TypeID string `json:"type_id,omitempty"`
}

// Validate validates this account update setup
func (m *AccountUpdateSetup) Validate(formats strfmt.Registry) error {
	return nil
}

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

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