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

// All Code Copyright(c) 2018-2020 by Taxnexus, Inc.
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed

package regs_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"
)

// GeoLicenseTypeInstance Links a license type to a geography
//
// swagger:model GeoLicenseTypeInstance
type GeoLicenseTypeInstance struct {

	// country ID
	CountryID string `json:"CountryID,omitempty"`

	// county ID
	CountyID string `json:"CountyID,omitempty"`

	// object type
	ObjectType string `json:"ObjectType,omitempty"`

	// place ID
	PlaceID string `json:"PlaceID,omitempty"`

	// state ID
	StateID string `json:"StateID,omitempty"`
}

// Validate validates this geo license type instance
func (m *GeoLicenseTypeInstance) Validate(formats strfmt.Registry) error {
	return nil
}

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

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