ipgeolocationsdk

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

func WithAPIKey

func WithAPIKey(ctx context.Context, key string) context.Context

WithAPIKey sets the API key in the context. It will be used for authentication of all requests made with the returned context.

Types

type APIClient

type APIClient struct {
	ASNLookupAPI ASNLookupAPI

	AbuseContactAPI AbuseContactAPI

	AstronomyAPI AstronomyAPI

	IPGeolocationAPI IPGeolocationAPI

	IPSecurityAPI IPSecurityAPI

	TimeConversionAPI TimeConversionAPI

	TimezoneAPI TimezoneAPI

	UserAgentAPI UserAgentAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the IPGeolocation.io - IP intelligence products API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ASNConnection

type ASNConnection struct {
	AsNumber    *string `json:"as_number,omitempty"`
	Description *string `json:"description,omitempty"`
	Country     *string `json:"country,omitempty"`
}

ASNConnection struct for ASNConnection

func NewASNConnection

func NewASNConnection() *ASNConnection

NewASNConnection instantiates a new ASNConnection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewASNConnectionWithDefaults

func NewASNConnectionWithDefaults() *ASNConnection

NewASNConnectionWithDefaults instantiates a new ASNConnection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ASNConnection) GetAsNumber

func (o *ASNConnection) GetAsNumber() string

GetAsNumber returns the AsNumber field value if set, zero value otherwise.

func (*ASNConnection) GetAsNumberOk

func (o *ASNConnection) GetAsNumberOk() (*string, bool)

GetAsNumberOk returns a tuple with the AsNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNConnection) GetCountry

func (o *ASNConnection) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*ASNConnection) GetCountryOk

func (o *ASNConnection) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNConnection) GetDescription

func (o *ASNConnection) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ASNConnection) GetDescriptionOk

func (o *ASNConnection) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNConnection) HasAsNumber

func (o *ASNConnection) HasAsNumber() bool

HasAsNumber returns a boolean if a field has been set.

func (*ASNConnection) HasCountry

func (o *ASNConnection) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*ASNConnection) HasDescription

func (o *ASNConnection) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (ASNConnection) MarshalJSON

func (o ASNConnection) MarshalJSON() ([]byte, error)

func (*ASNConnection) SetAsNumber

func (o *ASNConnection) SetAsNumber(v string)

SetAsNumber gets a reference to the given string and assigns it to the AsNumber field.

func (*ASNConnection) SetCountry

func (o *ASNConnection) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*ASNConnection) SetDescription

func (o *ASNConnection) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (ASNConnection) ToMap

func (o ASNConnection) ToMap() (map[string]interface{}, error)

type ASNDetails

type ASNDetails struct {
	AsNumber         *string `json:"as_number,omitempty"`
	Organization     *string `json:"organization,omitempty"`
	Country          *string `json:"country,omitempty"`
	AsnName          *string `json:"asn_name,omitempty"`
	Type             *string `json:"type,omitempty"`
	Domain           *string `json:"domain,omitempty"`
	DateAllocated    *string `json:"date_allocated,omitempty"`
	AllocationStatus *string `json:"allocation_status,omitempty"`
	NumOfIpv4Routes  *string `json:"num_of_ipv4_routes,omitempty"`
	NumOfIpv6Routes  *string `json:"num_of_ipv6_routes,omitempty"`
	Rir              *string `json:"rir,omitempty"`
	// It will only be included in the response, if you set include=routes in the request
	Routes []string `json:"routes,omitempty"`
	// It will only be included in the response, if you set include=upstreams in the request
	Upstreams []ASNConnection `json:"upstreams,omitempty"`
	// It will only be included in the response, if you set include=downstreams in the request
	Downstreams []ASNConnection `json:"downstreams,omitempty"`
	// It will only be included in the response, if you set include=peers in the request
	Peers []ASNConnection `json:"peers,omitempty"`
	// It will only be included in the response, if you set include=whois_response in the request
	WhoisResponse *string `json:"whois_response,omitempty"`
}

ASNDetails struct for ASNDetails

func NewASNDetails

func NewASNDetails() *ASNDetails

NewASNDetails instantiates a new ASNDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewASNDetailsWithDefaults

func NewASNDetailsWithDefaults() *ASNDetails

NewASNDetailsWithDefaults instantiates a new ASNDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ASNDetails) GetAllocationStatus

func (o *ASNDetails) GetAllocationStatus() string

GetAllocationStatus returns the AllocationStatus field value if set, zero value otherwise.

func (*ASNDetails) GetAllocationStatusOk

func (o *ASNDetails) GetAllocationStatusOk() (*string, bool)

GetAllocationStatusOk returns a tuple with the AllocationStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetAsNumber

func (o *ASNDetails) GetAsNumber() string

GetAsNumber returns the AsNumber field value if set, zero value otherwise.

func (*ASNDetails) GetAsNumberOk

func (o *ASNDetails) GetAsNumberOk() (*string, bool)

GetAsNumberOk returns a tuple with the AsNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetAsnName

func (o *ASNDetails) GetAsnName() string

GetAsnName returns the AsnName field value if set, zero value otherwise.

func (*ASNDetails) GetAsnNameOk

func (o *ASNDetails) GetAsnNameOk() (*string, bool)

GetAsnNameOk returns a tuple with the AsnName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetCountry

func (o *ASNDetails) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*ASNDetails) GetCountryOk

func (o *ASNDetails) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetDateAllocated

func (o *ASNDetails) GetDateAllocated() string

GetDateAllocated returns the DateAllocated field value if set, zero value otherwise.

func (*ASNDetails) GetDateAllocatedOk

func (o *ASNDetails) GetDateAllocatedOk() (*string, bool)

GetDateAllocatedOk returns a tuple with the DateAllocated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetDomain

func (o *ASNDetails) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*ASNDetails) GetDomainOk

func (o *ASNDetails) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetDownstreams

func (o *ASNDetails) GetDownstreams() []ASNConnection

GetDownstreams returns the Downstreams field value if set, zero value otherwise.

func (*ASNDetails) GetDownstreamsOk

func (o *ASNDetails) GetDownstreamsOk() ([]ASNConnection, bool)

GetDownstreamsOk returns a tuple with the Downstreams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetNumOfIpv4Routes

func (o *ASNDetails) GetNumOfIpv4Routes() string

GetNumOfIpv4Routes returns the NumOfIpv4Routes field value if set, zero value otherwise.

func (*ASNDetails) GetNumOfIpv4RoutesOk

func (o *ASNDetails) GetNumOfIpv4RoutesOk() (*string, bool)

GetNumOfIpv4RoutesOk returns a tuple with the NumOfIpv4Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetNumOfIpv6Routes

func (o *ASNDetails) GetNumOfIpv6Routes() string

GetNumOfIpv6Routes returns the NumOfIpv6Routes field value if set, zero value otherwise.

func (*ASNDetails) GetNumOfIpv6RoutesOk

func (o *ASNDetails) GetNumOfIpv6RoutesOk() (*string, bool)

GetNumOfIpv6RoutesOk returns a tuple with the NumOfIpv6Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetOrganization

func (o *ASNDetails) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*ASNDetails) GetOrganizationOk

func (o *ASNDetails) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetPeers

func (o *ASNDetails) GetPeers() []ASNConnection

GetPeers returns the Peers field value if set, zero value otherwise.

func (*ASNDetails) GetPeersOk

func (o *ASNDetails) GetPeersOk() ([]ASNConnection, bool)

GetPeersOk returns a tuple with the Peers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetRir

func (o *ASNDetails) GetRir() string

GetRir returns the Rir field value if set, zero value otherwise.

func (*ASNDetails) GetRirOk

func (o *ASNDetails) GetRirOk() (*string, bool)

GetRirOk returns a tuple with the Rir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetRoutes

func (o *ASNDetails) GetRoutes() []string

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*ASNDetails) GetRoutesOk

func (o *ASNDetails) GetRoutesOk() ([]string, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetType

func (o *ASNDetails) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ASNDetails) GetTypeOk

func (o *ASNDetails) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetUpstreams

func (o *ASNDetails) GetUpstreams() []ASNConnection

GetUpstreams returns the Upstreams field value if set, zero value otherwise.

func (*ASNDetails) GetUpstreamsOk

func (o *ASNDetails) GetUpstreamsOk() ([]ASNConnection, bool)

GetUpstreamsOk returns a tuple with the Upstreams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) GetWhoisResponse

func (o *ASNDetails) GetWhoisResponse() string

GetWhoisResponse returns the WhoisResponse field value if set, zero value otherwise.

func (*ASNDetails) GetWhoisResponseOk

func (o *ASNDetails) GetWhoisResponseOk() (*string, bool)

GetWhoisResponseOk returns a tuple with the WhoisResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNDetails) HasAllocationStatus

func (o *ASNDetails) HasAllocationStatus() bool

HasAllocationStatus returns a boolean if a field has been set.

func (*ASNDetails) HasAsNumber

func (o *ASNDetails) HasAsNumber() bool

HasAsNumber returns a boolean if a field has been set.

func (*ASNDetails) HasAsnName

func (o *ASNDetails) HasAsnName() bool

HasAsnName returns a boolean if a field has been set.

func (*ASNDetails) HasCountry

func (o *ASNDetails) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*ASNDetails) HasDateAllocated

func (o *ASNDetails) HasDateAllocated() bool

HasDateAllocated returns a boolean if a field has been set.

func (*ASNDetails) HasDomain

func (o *ASNDetails) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*ASNDetails) HasDownstreams

func (o *ASNDetails) HasDownstreams() bool

HasDownstreams returns a boolean if a field has been set.

func (*ASNDetails) HasNumOfIpv4Routes

func (o *ASNDetails) HasNumOfIpv4Routes() bool

HasNumOfIpv4Routes returns a boolean if a field has been set.

func (*ASNDetails) HasNumOfIpv6Routes

func (o *ASNDetails) HasNumOfIpv6Routes() bool

HasNumOfIpv6Routes returns a boolean if a field has been set.

func (*ASNDetails) HasOrganization

func (o *ASNDetails) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*ASNDetails) HasPeers

func (o *ASNDetails) HasPeers() bool

HasPeers returns a boolean if a field has been set.

func (*ASNDetails) HasRir

func (o *ASNDetails) HasRir() bool

HasRir returns a boolean if a field has been set.

func (*ASNDetails) HasRoutes

func (o *ASNDetails) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*ASNDetails) HasType

func (o *ASNDetails) HasType() bool

HasType returns a boolean if a field has been set.

func (*ASNDetails) HasUpstreams

func (o *ASNDetails) HasUpstreams() bool

HasUpstreams returns a boolean if a field has been set.

func (*ASNDetails) HasWhoisResponse

func (o *ASNDetails) HasWhoisResponse() bool

HasWhoisResponse returns a boolean if a field has been set.

func (ASNDetails) MarshalJSON

func (o ASNDetails) MarshalJSON() ([]byte, error)

func (*ASNDetails) SetAllocationStatus

func (o *ASNDetails) SetAllocationStatus(v string)

SetAllocationStatus gets a reference to the given string and assigns it to the AllocationStatus field.

func (*ASNDetails) SetAsNumber

func (o *ASNDetails) SetAsNumber(v string)

SetAsNumber gets a reference to the given string and assigns it to the AsNumber field.

func (*ASNDetails) SetAsnName

func (o *ASNDetails) SetAsnName(v string)

SetAsnName gets a reference to the given string and assigns it to the AsnName field.

func (*ASNDetails) SetCountry

func (o *ASNDetails) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*ASNDetails) SetDateAllocated

func (o *ASNDetails) SetDateAllocated(v string)

SetDateAllocated gets a reference to the given string and assigns it to the DateAllocated field.

func (*ASNDetails) SetDomain

func (o *ASNDetails) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*ASNDetails) SetDownstreams

func (o *ASNDetails) SetDownstreams(v []ASNConnection)

SetDownstreams gets a reference to the given []ASNConnection and assigns it to the Downstreams field.

func (*ASNDetails) SetNumOfIpv4Routes

func (o *ASNDetails) SetNumOfIpv4Routes(v string)

SetNumOfIpv4Routes gets a reference to the given int32 and assigns it to the NumOfIpv4Routes field.

func (*ASNDetails) SetNumOfIpv6Routes

func (o *ASNDetails) SetNumOfIpv6Routes(v string)

SetNumOfIpv6Routes gets a reference to the given int32 and assigns it to the NumOfIpv6Routes field.

func (*ASNDetails) SetOrganization

func (o *ASNDetails) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*ASNDetails) SetPeers

func (o *ASNDetails) SetPeers(v []ASNConnection)

SetPeers gets a reference to the given []ASNConnection and assigns it to the Peers field.

func (*ASNDetails) SetRir

func (o *ASNDetails) SetRir(v string)

SetRir gets a reference to the given string and assigns it to the Rir field.

func (*ASNDetails) SetRoutes

func (o *ASNDetails) SetRoutes(v []string)

SetRoutes gets a reference to the given []string and assigns it to the Routes field.

func (*ASNDetails) SetType

func (o *ASNDetails) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ASNDetails) SetUpstreams

func (o *ASNDetails) SetUpstreams(v []ASNConnection)

SetUpstreams gets a reference to the given []ASNConnection and assigns it to the Upstreams field.

func (*ASNDetails) SetWhoisResponse

func (o *ASNDetails) SetWhoisResponse(v string)

SetWhoisResponse gets a reference to the given string and assigns it to the WhoisResponse field.

func (ASNDetails) ToMap

func (o ASNDetails) ToMap() (map[string]interface{}, error)

type ASNLookupAPI

type ASNLookupAPI interface {

	/*
			GetAsnInfo Method for GetAsnInfo

			ASN API provides comprehensive details for an ASN including the as name,
		organization name, the country of registration, associated domain, and its
		type (ISP, host provider, or business). The API also shows the allocation
		date of provided ASN and if it is currently allocated or not. It also contains
		the routing information including peering, upstreams, and downstreams to help
		understand the relationship between different ASNs.

		Example Use Cases:

		- Looking up ASN information for an IP address (e.g., `GET /asn?ip=8.8.8.8`)

		- Retrieving ASN information for a specific ASN number (e.g., `GET /asn?asn=12345`)

		- Getting peering relationships for an ASN (e.g., `GET /asn?asn=12345&include=peers`)


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@return ApiGetAsnInfoRequest
	*/
	GetAsnInfo(ctx context.Context) ApiGetAsnInfoRequest

	// GetAsnInfoExecute executes the request
	//  @return ASNResponse
	GetAsnInfoExecute(r ApiGetAsnInfoRequest) (*ASNResponse, *http.Response, error)
}

type ASNLookupAPIService

type ASNLookupAPIService service

ASNLookupAPIService ASNLookupAPI service

func (*ASNLookupAPIService) GetAsnInfo

GetAsnInfo Method for GetAsnInfo

ASN API provides comprehensive details for an ASN including the as name, organization name, the country of registration, associated domain, and its type (ISP, host provider, or business). The API also shows the allocation date of provided ASN and if it is currently allocated or not. It also contains the routing information including peering, upstreams, and downstreams to help understand the relationship between different ASNs.

Example Use Cases:

- Looking up ASN information for an IP address (e.g., `GET /asn?ip=8.8.8.8`)

- Retrieving ASN information for a specific ASN number (e.g., `GET /asn?asn=12345`)

- Getting peering relationships for an ASN (e.g., `GET /asn?asn=12345&include=peers`)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAsnInfoRequest

func (*ASNLookupAPIService) GetAsnInfoExecute

Execute executes the request

@return ASNResponse

type ASNResponse

type ASNResponse struct {
	// IP address for which ASN information is returned. Present if the 'ip' query parameter is used or no IP is specified (defaults to requester's IP).
	Ip  *string     `json:"ip,omitempty"`
	Asn *ASNDetails `json:"asn,omitempty"`
}

ASNResponse struct for ASNResponse

func NewASNResponse

func NewASNResponse() *ASNResponse

NewASNResponse instantiates a new ASNResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewASNResponseWithDefaults

func NewASNResponseWithDefaults() *ASNResponse

NewASNResponseWithDefaults instantiates a new ASNResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ASNResponse) GetAsn

func (o *ASNResponse) GetAsn() ASNDetails

GetAsn returns the Asn field value if set, zero value otherwise.

func (*ASNResponse) GetAsnOk

func (o *ASNResponse) GetAsnOk() (*ASNDetails, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponse) GetIp

func (o *ASNResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*ASNResponse) GetIpOk

func (o *ASNResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponse) HasAsn

func (o *ASNResponse) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*ASNResponse) HasIp

func (o *ASNResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (ASNResponse) MarshalJSON

func (o ASNResponse) MarshalJSON() ([]byte, error)

func (*ASNResponse) SetAsn

func (o *ASNResponse) SetAsn(v ASNDetails)

SetAsn gets a reference to the given ASNDetails and assigns it to the Asn field.

func (*ASNResponse) SetIp

func (o *ASNResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (ASNResponse) ToMap

func (o ASNResponse) ToMap() (map[string]interface{}, error)

type ASNResponseXML

type ASNResponseXML struct {
	Ip  *string            `json:"ip,omitempty"`
	Asn *ASNResponseXMLAsn `json:"asn,omitempty"`
}

ASNResponseXML struct for ASNResponseXML

func NewASNResponseXML

func NewASNResponseXML() *ASNResponseXML

NewASNResponseXML instantiates a new ASNResponseXML object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewASNResponseXMLWithDefaults

func NewASNResponseXMLWithDefaults() *ASNResponseXML

NewASNResponseXMLWithDefaults instantiates a new ASNResponseXML object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ASNResponseXML) GetAsn

func (o *ASNResponseXML) GetAsn() ASNResponseXMLAsn

GetAsn returns the Asn field value if set, zero value otherwise.

func (*ASNResponseXML) GetAsnOk

func (o *ASNResponseXML) GetAsnOk() (*ASNResponseXMLAsn, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXML) GetIp

func (o *ASNResponseXML) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*ASNResponseXML) GetIpOk

func (o *ASNResponseXML) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXML) HasAsn

func (o *ASNResponseXML) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*ASNResponseXML) HasIp

func (o *ASNResponseXML) HasIp() bool

HasIp returns a boolean if a field has been set.

func (ASNResponseXML) MarshalJSON

func (o ASNResponseXML) MarshalJSON() ([]byte, error)

func (*ASNResponseXML) SetAsn

func (o *ASNResponseXML) SetAsn(v ASNResponseXMLAsn)

SetAsn gets a reference to the given ASNResponseXMLAsn and assigns it to the Asn field.

func (*ASNResponseXML) SetIp

func (o *ASNResponseXML) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (ASNResponseXML) ToMap

func (o ASNResponseXML) ToMap() (map[string]interface{}, error)

type ASNResponseXMLAsn

type ASNResponseXMLAsn struct {
	AsNumber         *string `json:"as_number,omitempty"`
	Organization     *string `json:"organization,omitempty"`
	Country          *string `json:"country,omitempty"`
	AsnName          *string `json:"asn_name,omitempty"`
	Type             *string `json:"type,omitempty"`
	Domain           *string `json:"domain,omitempty"`
	DateAllocated    *string `json:"date_allocated,omitempty"`
	AllocationStatus *string `json:"allocation_status,omitempty"`
	NumOfIpv4Routes  *int32  `json:"num_of_ipv4_routes,omitempty"`
	NumOfIpv6Routes  *int32  `json:"num_of_ipv6_routes,omitempty"`
	Rir              *string `json:"rir,omitempty"`
	// It will only be included in the response, if you set include=routes in the request
	Routes        []string        `json:"routes,omitempty"`
	Upstreams     []ASNConnection `json:"upstreams,omitempty"`
	Downstreams   []ASNConnection `json:"downstreams,omitempty"`
	Peers         []ASNConnection `json:"peers,omitempty"`
	WhoisResponse *string         `json:"whois_response,omitempty"`
}

ASNResponseXMLAsn struct for ASNResponseXMLAsn

func NewASNResponseXMLAsn

func NewASNResponseXMLAsn() *ASNResponseXMLAsn

NewASNResponseXMLAsn instantiates a new ASNResponseXMLAsn object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewASNResponseXMLAsnWithDefaults

func NewASNResponseXMLAsnWithDefaults() *ASNResponseXMLAsn

NewASNResponseXMLAsnWithDefaults instantiates a new ASNResponseXMLAsn object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ASNResponseXMLAsn) GetAllocationStatus

func (o *ASNResponseXMLAsn) GetAllocationStatus() string

GetAllocationStatus returns the AllocationStatus field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetAllocationStatusOk

func (o *ASNResponseXMLAsn) GetAllocationStatusOk() (*string, bool)

GetAllocationStatusOk returns a tuple with the AllocationStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetAsNumber

func (o *ASNResponseXMLAsn) GetAsNumber() string

GetAsNumber returns the AsNumber field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetAsNumberOk

func (o *ASNResponseXMLAsn) GetAsNumberOk() (*string, bool)

GetAsNumberOk returns a tuple with the AsNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetAsnName

func (o *ASNResponseXMLAsn) GetAsnName() string

GetAsnName returns the AsnName field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetAsnNameOk

func (o *ASNResponseXMLAsn) GetAsnNameOk() (*string, bool)

GetAsnNameOk returns a tuple with the AsnName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetCountry

func (o *ASNResponseXMLAsn) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetCountryOk

func (o *ASNResponseXMLAsn) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetDateAllocated

func (o *ASNResponseXMLAsn) GetDateAllocated() string

GetDateAllocated returns the DateAllocated field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetDateAllocatedOk

func (o *ASNResponseXMLAsn) GetDateAllocatedOk() (*string, bool)

GetDateAllocatedOk returns a tuple with the DateAllocated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetDomain

func (o *ASNResponseXMLAsn) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetDomainOk

func (o *ASNResponseXMLAsn) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetDownstreams

func (o *ASNResponseXMLAsn) GetDownstreams() []ASNConnection

GetDownstreams returns the Downstreams field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetDownstreamsOk

func (o *ASNResponseXMLAsn) GetDownstreamsOk() ([]ASNConnection, bool)

GetDownstreamsOk returns a tuple with the Downstreams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetNumOfIpv4Routes

func (o *ASNResponseXMLAsn) GetNumOfIpv4Routes() int32

GetNumOfIpv4Routes returns the NumOfIpv4Routes field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetNumOfIpv4RoutesOk

func (o *ASNResponseXMLAsn) GetNumOfIpv4RoutesOk() (*int32, bool)

GetNumOfIpv4RoutesOk returns a tuple with the NumOfIpv4Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetNumOfIpv6Routes

func (o *ASNResponseXMLAsn) GetNumOfIpv6Routes() int32

GetNumOfIpv6Routes returns the NumOfIpv6Routes field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetNumOfIpv6RoutesOk

func (o *ASNResponseXMLAsn) GetNumOfIpv6RoutesOk() (*int32, bool)

GetNumOfIpv6RoutesOk returns a tuple with the NumOfIpv6Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetOrganization

func (o *ASNResponseXMLAsn) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetOrganizationOk

func (o *ASNResponseXMLAsn) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetPeers

func (o *ASNResponseXMLAsn) GetPeers() []ASNConnection

GetPeers returns the Peers field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetPeersOk

func (o *ASNResponseXMLAsn) GetPeersOk() ([]ASNConnection, bool)

GetPeersOk returns a tuple with the Peers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetRir

func (o *ASNResponseXMLAsn) GetRir() string

GetRir returns the Rir field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetRirOk

func (o *ASNResponseXMLAsn) GetRirOk() (*string, bool)

GetRirOk returns a tuple with the Rir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetRoutes

func (o *ASNResponseXMLAsn) GetRoutes() []string

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetRoutesOk

func (o *ASNResponseXMLAsn) GetRoutesOk() ([]string, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetType

func (o *ASNResponseXMLAsn) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetTypeOk

func (o *ASNResponseXMLAsn) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetUpstreams

func (o *ASNResponseXMLAsn) GetUpstreams() []ASNConnection

GetUpstreams returns the Upstreams field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetUpstreamsOk

func (o *ASNResponseXMLAsn) GetUpstreamsOk() ([]ASNConnection, bool)

GetUpstreamsOk returns a tuple with the Upstreams field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) GetWhoisResponse

func (o *ASNResponseXMLAsn) GetWhoisResponse() string

GetWhoisResponse returns the WhoisResponse field value if set, zero value otherwise.

func (*ASNResponseXMLAsn) GetWhoisResponseOk

func (o *ASNResponseXMLAsn) GetWhoisResponseOk() (*string, bool)

GetWhoisResponseOk returns a tuple with the WhoisResponse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ASNResponseXMLAsn) HasAllocationStatus

func (o *ASNResponseXMLAsn) HasAllocationStatus() bool

HasAllocationStatus returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasAsNumber

func (o *ASNResponseXMLAsn) HasAsNumber() bool

HasAsNumber returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasAsnName

func (o *ASNResponseXMLAsn) HasAsnName() bool

HasAsnName returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasCountry

func (o *ASNResponseXMLAsn) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasDateAllocated

func (o *ASNResponseXMLAsn) HasDateAllocated() bool

HasDateAllocated returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasDomain

func (o *ASNResponseXMLAsn) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasDownstreams

func (o *ASNResponseXMLAsn) HasDownstreams() bool

HasDownstreams returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasNumOfIpv4Routes

func (o *ASNResponseXMLAsn) HasNumOfIpv4Routes() bool

HasNumOfIpv4Routes returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasNumOfIpv6Routes

func (o *ASNResponseXMLAsn) HasNumOfIpv6Routes() bool

HasNumOfIpv6Routes returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasOrganization

func (o *ASNResponseXMLAsn) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasPeers

func (o *ASNResponseXMLAsn) HasPeers() bool

HasPeers returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasRir

func (o *ASNResponseXMLAsn) HasRir() bool

HasRir returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasRoutes

func (o *ASNResponseXMLAsn) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasType

func (o *ASNResponseXMLAsn) HasType() bool

HasType returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasUpstreams

func (o *ASNResponseXMLAsn) HasUpstreams() bool

HasUpstreams returns a boolean if a field has been set.

func (*ASNResponseXMLAsn) HasWhoisResponse

func (o *ASNResponseXMLAsn) HasWhoisResponse() bool

HasWhoisResponse returns a boolean if a field has been set.

func (ASNResponseXMLAsn) MarshalJSON

func (o ASNResponseXMLAsn) MarshalJSON() ([]byte, error)

func (*ASNResponseXMLAsn) SetAllocationStatus

func (o *ASNResponseXMLAsn) SetAllocationStatus(v string)

SetAllocationStatus gets a reference to the given string and assigns it to the AllocationStatus field.

func (*ASNResponseXMLAsn) SetAsNumber

func (o *ASNResponseXMLAsn) SetAsNumber(v string)

SetAsNumber gets a reference to the given string and assigns it to the AsNumber field.

func (*ASNResponseXMLAsn) SetAsnName

func (o *ASNResponseXMLAsn) SetAsnName(v string)

SetAsnName gets a reference to the given string and assigns it to the AsnName field.

func (*ASNResponseXMLAsn) SetCountry

func (o *ASNResponseXMLAsn) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*ASNResponseXMLAsn) SetDateAllocated

func (o *ASNResponseXMLAsn) SetDateAllocated(v string)

SetDateAllocated gets a reference to the given string and assigns it to the DateAllocated field.

func (*ASNResponseXMLAsn) SetDomain

func (o *ASNResponseXMLAsn) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*ASNResponseXMLAsn) SetDownstreams

func (o *ASNResponseXMLAsn) SetDownstreams(v []ASNConnection)

SetDownstreams gets a reference to the given []ASNConnection and assigns it to the Downstreams field.

func (*ASNResponseXMLAsn) SetNumOfIpv4Routes

func (o *ASNResponseXMLAsn) SetNumOfIpv4Routes(v int32)

SetNumOfIpv4Routes gets a reference to the given int32 and assigns it to the NumOfIpv4Routes field.

func (*ASNResponseXMLAsn) SetNumOfIpv6Routes

func (o *ASNResponseXMLAsn) SetNumOfIpv6Routes(v int32)

SetNumOfIpv6Routes gets a reference to the given int32 and assigns it to the NumOfIpv6Routes field.

func (*ASNResponseXMLAsn) SetOrganization

func (o *ASNResponseXMLAsn) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*ASNResponseXMLAsn) SetPeers

func (o *ASNResponseXMLAsn) SetPeers(v []ASNConnection)

SetPeers gets a reference to the given []ASNConnection and assigns it to the Peers field.

func (*ASNResponseXMLAsn) SetRir

func (o *ASNResponseXMLAsn) SetRir(v string)

SetRir gets a reference to the given string and assigns it to the Rir field.

func (*ASNResponseXMLAsn) SetRoutes

func (o *ASNResponseXMLAsn) SetRoutes(v []string)

SetRoutes gets a reference to the given []string and assigns it to the Routes field.

func (*ASNResponseXMLAsn) SetType

func (o *ASNResponseXMLAsn) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ASNResponseXMLAsn) SetUpstreams

func (o *ASNResponseXMLAsn) SetUpstreams(v []ASNConnection)

SetUpstreams gets a reference to the given []ASNConnection and assigns it to the Upstreams field.

func (*ASNResponseXMLAsn) SetWhoisResponse

func (o *ASNResponseXMLAsn) SetWhoisResponse(v string)

SetWhoisResponse gets a reference to the given string and assigns it to the WhoisResponse field.

func (ASNResponseXMLAsn) ToMap

func (o ASNResponseXMLAsn) ToMap() (map[string]interface{}, error)

type Abuse

type Abuse struct {
	Route        *string  `json:"route,omitempty"`
	Country      *string  `json:"country,omitempty"`
	Handle       *string  `json:"handle,omitempty"`
	Name         *string  `json:"name,omitempty"`
	Organization *string  `json:"organization,omitempty"`
	Role         *string  `json:"role,omitempty"`
	Kind         *string  `json:"kind,omitempty"`
	Address      *string  `json:"address,omitempty"`
	Emails       []string `json:"emails,omitempty"`
	PhoneNumbers []string `json:"phone_numbers,omitempty"`
}

Abuse struct for Abuse

func NewAbuse

func NewAbuse() *Abuse

NewAbuse instantiates a new Abuse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAbuseWithDefaults

func NewAbuseWithDefaults() *Abuse

NewAbuseWithDefaults instantiates a new Abuse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Abuse) GetAddress

func (o *Abuse) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*Abuse) GetAddressOk

func (o *Abuse) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetCountry

func (o *Abuse) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*Abuse) GetCountryOk

func (o *Abuse) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetEmails

func (o *Abuse) GetEmails() []string

GetEmails returns the Emails field value if set, zero value otherwise.

func (*Abuse) GetEmailsOk

func (o *Abuse) GetEmailsOk() ([]string, bool)

GetEmailsOk returns a tuple with the Emails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetHandle

func (o *Abuse) GetHandle() string

GetHandle returns the Handle field value if set, zero value otherwise.

func (*Abuse) GetHandleOk

func (o *Abuse) GetHandleOk() (*string, bool)

GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetKind

func (o *Abuse) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Abuse) GetKindOk

func (o *Abuse) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetName

func (o *Abuse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Abuse) GetNameOk

func (o *Abuse) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetOrganization

func (o *Abuse) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*Abuse) GetOrganizationOk

func (o *Abuse) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetPhoneNumbers

func (o *Abuse) GetPhoneNumbers() []string

GetPhoneNumbers returns the PhoneNumbers field value if set, zero value otherwise.

func (*Abuse) GetPhoneNumbersOk

func (o *Abuse) GetPhoneNumbersOk() ([]string, bool)

GetPhoneNumbersOk returns a tuple with the PhoneNumbers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetRole

func (o *Abuse) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*Abuse) GetRoleOk

func (o *Abuse) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) GetRoute

func (o *Abuse) GetRoute() string

GetRoute returns the Route field value if set, zero value otherwise.

func (*Abuse) GetRouteOk

func (o *Abuse) GetRouteOk() (*string, bool)

GetRouteOk returns a tuple with the Route field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Abuse) HasAddress

func (o *Abuse) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*Abuse) HasCountry

func (o *Abuse) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*Abuse) HasEmails

func (o *Abuse) HasEmails() bool

HasEmails returns a boolean if a field has been set.

func (*Abuse) HasHandle

func (o *Abuse) HasHandle() bool

HasHandle returns a boolean if a field has been set.

func (*Abuse) HasKind

func (o *Abuse) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*Abuse) HasName

func (o *Abuse) HasName() bool

HasName returns a boolean if a field has been set.

func (*Abuse) HasOrganization

func (o *Abuse) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*Abuse) HasPhoneNumbers

func (o *Abuse) HasPhoneNumbers() bool

HasPhoneNumbers returns a boolean if a field has been set.

func (*Abuse) HasRole

func (o *Abuse) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*Abuse) HasRoute

func (o *Abuse) HasRoute() bool

HasRoute returns a boolean if a field has been set.

func (Abuse) MarshalJSON

func (o Abuse) MarshalJSON() ([]byte, error)

func (*Abuse) SetAddress

func (o *Abuse) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*Abuse) SetCountry

func (o *Abuse) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*Abuse) SetEmails

func (o *Abuse) SetEmails(v []string)

SetEmails gets a reference to the given []string and assigns it to the Emails field.

func (*Abuse) SetHandle

func (o *Abuse) SetHandle(v string)

SetHandle gets a reference to the given string and assigns it to the Handle field.

func (*Abuse) SetKind

func (o *Abuse) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*Abuse) SetName

func (o *Abuse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Abuse) SetOrganization

func (o *Abuse) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*Abuse) SetPhoneNumbers

func (o *Abuse) SetPhoneNumbers(v []string)

SetPhoneNumbers gets a reference to the given []string and assigns it to the PhoneNumbers field.

func (*Abuse) SetRole

func (o *Abuse) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*Abuse) SetRoute

func (o *Abuse) SetRoute(v string)

SetRoute gets a reference to the given string and assigns it to the Route field.

func (Abuse) ToMap

func (o Abuse) ToMap() (map[string]interface{}, error)

type AbuseContactAPI

type AbuseContactAPI interface {

	/*
		GetAbuseContactInfo Method for GetAbuseContactInfo

		The Abuse Contact API provides essential contact information to report abusive activity associated with IP addresses. By querying an IP address (IPv4 or IPv6), users receive detailed abuse contact data, including the responsible organization, abuse handling role, contact emails, phone numbers, and registered address. This enables users to swiftly take action to report and mitigate threats such as spam, DDoS attacks, and phishing.

	   In addition to abuse-specific contacts, the API also includes registration metadata like the registered country and abuse handle. This empowers cybersecurity teams, hosting providers, and compliance entities to take appropriate legal or administrative action.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetAbuseContactInfoRequest
	*/
	GetAbuseContactInfo(ctx context.Context) ApiGetAbuseContactInfoRequest

	// GetAbuseContactInfoExecute executes the request
	//  @return AbuseResponse
	GetAbuseContactInfoExecute(r ApiGetAbuseContactInfoRequest) (*AbuseResponse, *http.Response, error)
}

type AbuseContactAPIService

type AbuseContactAPIService service

AbuseContactAPIService AbuseContactAPI service

func (*AbuseContactAPIService) GetAbuseContactInfo

GetAbuseContactInfo Method for GetAbuseContactInfo

The Abuse Contact API provides essential contact information to report abusive activity associated with IP addresses. By querying an IP address (IPv4 or IPv6), users receive detailed abuse contact data, including the responsible organization, abuse handling role, contact emails, phone numbers, and registered address. This enables users to swiftly take action to report and mitigate threats such as spam, DDoS attacks, and phishing.

  In addition to abuse-specific contacts, the API also includes registration metadata like the registered country and abuse handle. This empowers cybersecurity teams, hosting providers, and compliance entities to take appropriate legal or administrative action.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAbuseContactInfoRequest

func (*AbuseContactAPIService) GetAbuseContactInfoExecute

Execute executes the request

@return AbuseResponse

type AbuseResponse

type AbuseResponse struct {
	Ip    *string `json:"ip,omitempty"`
	Abuse *Abuse  `json:"abuse,omitempty"`
}

AbuseResponse struct for AbuseResponse

func NewAbuseResponse

func NewAbuseResponse() *AbuseResponse

NewAbuseResponse instantiates a new AbuseResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAbuseResponseWithDefaults

func NewAbuseResponseWithDefaults() *AbuseResponse

NewAbuseResponseWithDefaults instantiates a new AbuseResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AbuseResponse) GetAbuse

func (o *AbuseResponse) GetAbuse() Abuse

GetAbuse returns the Abuse field value if set, zero value otherwise.

func (*AbuseResponse) GetAbuseOk

func (o *AbuseResponse) GetAbuseOk() (*Abuse, bool)

GetAbuseOk returns a tuple with the Abuse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AbuseResponse) GetIp

func (o *AbuseResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*AbuseResponse) GetIpOk

func (o *AbuseResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AbuseResponse) HasAbuse

func (o *AbuseResponse) HasAbuse() bool

HasAbuse returns a boolean if a field has been set.

func (*AbuseResponse) HasIp

func (o *AbuseResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (AbuseResponse) MarshalJSON

func (o AbuseResponse) MarshalJSON() ([]byte, error)

func (*AbuseResponse) SetAbuse

func (o *AbuseResponse) SetAbuse(v Abuse)

SetAbuse gets a reference to the given Abuse and assigns it to the Abuse field.

func (*AbuseResponse) SetIp

func (o *AbuseResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (AbuseResponse) ToMap

func (o AbuseResponse) ToMap() (map[string]interface{}, error)

type AbuseResponseXML

type AbuseResponseXML struct {
	Ip    *string `json:"ip,omitempty"`
	Abuse *Abuse  `json:"abuse,omitempty"`
}

AbuseResponseXML struct for AbuseResponseXML

func NewAbuseResponseXML

func NewAbuseResponseXML() *AbuseResponseXML

NewAbuseResponseXML instantiates a new AbuseResponseXML object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAbuseResponseXMLWithDefaults

func NewAbuseResponseXMLWithDefaults() *AbuseResponseXML

NewAbuseResponseXMLWithDefaults instantiates a new AbuseResponseXML object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AbuseResponseXML) GetAbuse

func (o *AbuseResponseXML) GetAbuse() Abuse

GetAbuse returns the Abuse field value if set, zero value otherwise.

func (*AbuseResponseXML) GetAbuseOk

func (o *AbuseResponseXML) GetAbuseOk() (*Abuse, bool)

GetAbuseOk returns a tuple with the Abuse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AbuseResponseXML) GetIp

func (o *AbuseResponseXML) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*AbuseResponseXML) GetIpOk

func (o *AbuseResponseXML) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AbuseResponseXML) HasAbuse

func (o *AbuseResponseXML) HasAbuse() bool

HasAbuse returns a boolean if a field has been set.

func (*AbuseResponseXML) HasIp

func (o *AbuseResponseXML) HasIp() bool

HasIp returns a boolean if a field has been set.

func (AbuseResponseXML) MarshalJSON

func (o AbuseResponseXML) MarshalJSON() ([]byte, error)

func (*AbuseResponseXML) SetAbuse

func (o *AbuseResponseXML) SetAbuse(v Abuse)

SetAbuse gets a reference to the given Abuse and assigns it to the Abuse field.

func (*AbuseResponseXML) SetIp

func (o *AbuseResponseXML) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (AbuseResponseXML) ToMap

func (o AbuseResponseXML) ToMap() (map[string]interface{}, error)

type ApiConvertTimeBetweenTimezonesRequest

type ApiConvertTimeBetweenTimezonesRequest struct {
	ApiService TimeConversionAPI
	// contains filtered or unexported fields
}

func (ApiConvertTimeBetweenTimezonesRequest) Execute

func (ApiConvertTimeBetweenTimezonesRequest) IataFrom

location to convert from

func (ApiConvertTimeBetweenTimezonesRequest) IataTo

location to convert to

func (ApiConvertTimeBetweenTimezonesRequest) IcaoFrom

location to convert from

func (ApiConvertTimeBetweenTimezonesRequest) IcaoTo

location to convert to

func (ApiConvertTimeBetweenTimezonesRequest) LatFrom

latitude to convert from

func (ApiConvertTimeBetweenTimezonesRequest) LatTo

latitude to convert to

func (ApiConvertTimeBetweenTimezonesRequest) LocationFrom

location to convert from

func (ApiConvertTimeBetweenTimezonesRequest) LocationTo

location to convert to

func (ApiConvertTimeBetweenTimezonesRequest) LocodeFrom

location to convert from

func (ApiConvertTimeBetweenTimezonesRequest) LocodeTo

location to convert to

func (ApiConvertTimeBetweenTimezonesRequest) LongFrom

longitude to convert from

func (ApiConvertTimeBetweenTimezonesRequest) LongTo

longitude to convert to

func (ApiConvertTimeBetweenTimezonesRequest) Time

time parameter takes the input in the following two formats: i) 'yyyy-MM-dd HH:mm', and ii) 'yyyy-MM-dd HH:mm:ss'. This parameter is optional and you can omit it to convert the current time between two coordinates, time zones or locations.

func (ApiConvertTimeBetweenTimezonesRequest) TzFrom

timezone to convert from

func (ApiConvertTimeBetweenTimezonesRequest) TzTo

timezone to convert to

type ApiGetAbuseContactInfoRequest

type ApiGetAbuseContactInfoRequest struct {
	ApiService AbuseContactAPI
	// contains filtered or unexported fields
}

func (ApiGetAbuseContactInfoRequest) Excludes

You can exclude specific fields from the API response (except the ip field) by listing them in the excludes parameter as a comma-separated list. For example, you want to remove emails and handle from api response, you can put the keys in excludes parameter like this.

func (ApiGetAbuseContactInfoRequest) Execute

func (ApiGetAbuseContactInfoRequest) Fields

You can customize the API response by using the fields parameter to include only the specific data you need. For example, to retrieve only the role and emails, specify these keys in the fields parameter as shown below.

func (ApiGetAbuseContactInfoRequest) Ip

query parameter 'ip'.

type ApiGetAsnInfoRequest

type ApiGetAsnInfoRequest struct {
	ApiService ASNLookupAPI
	// contains filtered or unexported fields
}

func (ApiGetAsnInfoRequest) Asn

query paramter 'asn'.

func (ApiGetAsnInfoRequest) Excludes

func (r ApiGetAsnInfoRequest) Excludes(excludes string) ApiGetAsnInfoRequest

You can exclude fields from the response according to you requirement with the exception of ip field. For example, you want to remove date_allocated and allocation_status from api response, you can put the keys in excludes parameter like this.

func (ApiGetAsnInfoRequest) Execute

func (ApiGetAsnInfoRequest) Fields

You can filter out only those fields which you want to see in the response by using the fields parameter. To retrieve only the AS organization, its country and downstreams in api response, you can put the keys in fields parameter like this. API will combine these fields with the default ASN response. Note: Parameters `peers, downstreams, upstreams, routes, whois_response` can be used in both `include` , and `fields`. If you use include and fields at the same time, fields parameter will be considered only.

func (ApiGetAsnInfoRequest) Include

This parameter can have four options: a) peers b) downstreams c) upstreams d) routes e) whois_response. You may add any of them in comma-separated way. In order to get the ASN details with peering data, pass peers string in the include parameter like mentioned below.

func (ApiGetAsnInfoRequest) Ip

query parameter 'ip'.

type ApiGetAstronomyDetailsRequest

type ApiGetAstronomyDetailsRequest struct {
	ApiService AstronomyAPI
	// contains filtered or unexported fields
}

func (ApiGetAstronomyDetailsRequest) Date

The date (YYYY-MM-DD) to lookup for. default will be the current date

func (ApiGetAstronomyDetailsRequest) Elevation

query parameter 'elevation'

func (ApiGetAstronomyDetailsRequest) Execute

func (ApiGetAstronomyDetailsRequest) Ip

query paramter 'ip'. If not provided, will be your network IP

func (ApiGetAstronomyDetailsRequest) Lang

By default, the API responds in English. You can change the response language by passing the language code as a query parameter `lang`. Multi language feature is available only for `paid users`.

func (ApiGetAstronomyDetailsRequest) Lat

query paramter 'lat'.

func (ApiGetAstronomyDetailsRequest) Location

query paramter 'location'. If not provided, will be your ip location

func (ApiGetAstronomyDetailsRequest) Long

query paramter 'long'.

func (ApiGetAstronomyDetailsRequest) Output

Desired output format.

func (ApiGetAstronomyDetailsRequest) TimeZone

type ApiGetBulkIpGeolocationRequest

type ApiGetBulkIpGeolocationRequest struct {
	ApiService IPGeolocationAPI
	// contains filtered or unexported fields
}

func (ApiGetBulkIpGeolocationRequest) Excludes

you can also filter the API response by excluding specific fields (except the IP address) that you don't need. To do this, pass the unwanted field names using the excludes query parameter, with each field represented as a dot-separated path

func (ApiGetBulkIpGeolocationRequest) Execute

func (ApiGetBulkIpGeolocationRequest) Fields

you can filter the API response by specifying the fields that you need, instead of getting the full response. To do this, pass the desired field names using the `fields` query parameter with each field represented as a dot-separated path.

func (ApiGetBulkIpGeolocationRequest) Include

IP Geolocation API also provides IP-Security, abuse, timezone, user-agent and DMA (Designated Market Area) code, which is specifically used in the US for marketing and regional targeting information on Advanced API subscription, but doesn't respond it by default. To get these information along with the geolocation information, you must pass the `include=security` or `include=abuse` or `include=dma` or `include=time_zone` or `include=user-agent` or you can fetch multiples by adding values in comma-separated way. In addition to that, IPGeolocation API also provide hostname lookup for an IP address on all the paid API subscriptions (STANDARD and ADVANCED), but doesn't respond it by default. To get the hostname for an IP address, you can pass one of the three values `hostname, liveHostname, hostnameFallbackLive` as a URL parameter `include=`.

func (ApiGetBulkIpGeolocationRequest) Ips

func (ApiGetBulkIpGeolocationRequest) Lang

By default, the API responds in English. You can change the response language by passing the language code as a query parameter `lang`. Multi language feature is available only for `paid users`.

func (ApiGetBulkIpGeolocationRequest) Output

Desired output format(json or xml).

type ApiGetBulkIpSecurityInfoRequest

type ApiGetBulkIpSecurityInfoRequest struct {
	ApiService IPSecurityAPI
	// contains filtered or unexported fields
}

func (ApiGetBulkIpSecurityInfoRequest) Excludes

Exclude specific fields, objects from the response.

func (ApiGetBulkIpSecurityInfoRequest) Execute

func (ApiGetBulkIpSecurityInfoRequest) Fields

Get specific fields, objects from the response.

func (ApiGetBulkIpSecurityInfoRequest) Include

Include optional objects like `location`, `network`. Use comma-separated values. Example: include=location,network

func (ApiGetBulkIpSecurityInfoRequest) Ips

func (ApiGetBulkIpSecurityInfoRequest) Lang

By default, the API responds in English. You can change the response language by passing the language code as a query parameter `lang`. Multi language feature is available only for `paid users`.

func (ApiGetBulkIpSecurityInfoRequest) Output

Desired output format.

type ApiGetIpGeolocationRequest

type ApiGetIpGeolocationRequest struct {
	ApiService IPGeolocationAPI
	// contains filtered or unexported fields
}

func (ApiGetIpGeolocationRequest) Excludes

you can also filter the API response by excluding specific fields (except the IP address) that you don't need. To do this, pass the unwanted field names using the excludes query parameter, with each field represented as a dot-separated path

func (ApiGetIpGeolocationRequest) Execute

func (ApiGetIpGeolocationRequest) Fields

you can filter the API response by specifying the fields that you need, instead of getting the full response. To do this, pass the desired field names using the `fields` query parameter with each field represented as a dot-separated path.

func (ApiGetIpGeolocationRequest) Include

IP Geolocation API also provides IP-Security, abuse, timezone, user-agent and DMA (Designated Market Area) code, which is specifically used in the US for marketing and regional targeting information on Advanced API subscription, but doesn't respond it by default. To get these information along with the geolocation information, you must pass the `include=security` or `include=abuse` or `include=dma` or `include=time_zone` or `include=user-agent` or you can fetch multiples by adding values in comma-separated way. In addition to that, IPGeolocation API also provide hostname lookup for an IP address on all the paid API subscriptions (STANDARD and ADVANCED), but doesn't respond it by default. To get the hostname for an IP address, you can pass one of the three values `hostname, liveHostname, hostnameFallbackLive` as a URL parameter `include=`.

func (ApiGetIpGeolocationRequest) Ip

In order to find geolocation information about an IP (ipv4 ipv6) address or a domain name, pass it as a query parameter ip. When this endpoint is queried without an IP address, it returns the geolocation information of the device/client which is calling it

func (ApiGetIpGeolocationRequest) Lang

By default, the API responds in English. You can change the response language by passing the language code as a query parameter `lang`. Multi language feature is available only for `paid users`.

func (ApiGetIpGeolocationRequest) Output

Desired output format (json or xml).

type ApiGetIpSecurityInfoRequest

type ApiGetIpSecurityInfoRequest struct {
	ApiService IPSecurityAPI
	// contains filtered or unexported fields
}

func (ApiGetIpSecurityInfoRequest) Excludes

Exclude specific fields, objects from the response.

func (ApiGetIpSecurityInfoRequest) Execute

func (ApiGetIpSecurityInfoRequest) Fields

Get specific fields, objects from the response.

func (ApiGetIpSecurityInfoRequest) Include

Include optional details like location and/or network.

func (ApiGetIpSecurityInfoRequest) Ip

query parameter 'ip'. If not provided, will be your network IP

func (ApiGetIpSecurityInfoRequest) Lang

By default, the API responds in English. You can change the response language by passing the language code as a query parameter `lang`. Multi language feature is available only for `paid users`.

func (ApiGetIpSecurityInfoRequest) Output

Desired output format (json or xml).

type ApiGetTimezoneInfoRequest

type ApiGetTimezoneInfoRequest struct {
	ApiService TimezoneAPI
	// contains filtered or unexported fields
}

func (ApiGetTimezoneInfoRequest) Execute

func (ApiGetTimezoneInfoRequest) IataCode

pass any 3 letter IATA code as a query paramter iata_code to get the comprehensive airport details along with the time zone information, in which that airport exists.

func (ApiGetTimezoneInfoRequest) IcaoCode

pass any 4 letter ICAO code as a query paramter icao_code to get the comprehensive airport details along with the time zone information, in which that airport exists.

func (ApiGetTimezoneInfoRequest) Ip

You can pass any IPv4 or IPv6 address as a query parameter ip to get the regional timezone information.

func (ApiGetTimezoneInfoRequest) Lang

By default, the API responds in English. You can change the response language by passing the language code as a query parameter `lang`. Multi language feature is available only for `paid users`.

func (ApiGetTimezoneInfoRequest) Lat

pass the latitude of a location as query parameters to get the time zone information.

func (ApiGetTimezoneInfoRequest) LoCode

pass any 5 letter UNLOCODE as a query paramter lo_code to get the comprehensive lo code/city details along with the time zone information of the concerned city.

func (ApiGetTimezoneInfoRequest) Location

pass any address of a location as the query parameter location to get the time zone information.

func (ApiGetTimezoneInfoRequest) Long

pass the longitude of a location as query parameters to get the time zone information.

func (ApiGetTimezoneInfoRequest) Output

Desired output format (json or xml).

func (ApiGetTimezoneInfoRequest) Tz

pass a valid time zone name as a query parameter tz to get the time zone information.

type ApiGetUserAgentDetailsRequest

type ApiGetUserAgentDetailsRequest struct {
	ApiService UserAgentAPI
	// contains filtered or unexported fields
}

func (ApiGetUserAgentDetailsRequest) Execute

func (ApiGetUserAgentDetailsRequest) Output

Desired output format (json or xml).

func (ApiGetUserAgentDetailsRequest) UserAgent

type ApiParseBulkUserAgentStringsRequest

type ApiParseBulkUserAgentStringsRequest struct {
	ApiService UserAgentAPI
	// contains filtered or unexported fields
}

func (ApiParseBulkUserAgentStringsRequest) Execute

func (ApiParseBulkUserAgentStringsRequest) Output

Desired output format (json or xml).

func (ApiParseBulkUserAgentStringsRequest) UserAgents

type ApiParseUserAgentStringRequest

type ApiParseUserAgentStringRequest struct {
	ApiService UserAgentAPI
	// contains filtered or unexported fields
}

func (ApiParseUserAgentStringRequest) Execute

func (ApiParseUserAgentStringRequest) Output

Desired output format (json or xml).

func (ApiParseUserAgentStringRequest) ParseUserAgentStringRequest

func (r ApiParseUserAgentStringRequest) ParseUserAgentStringRequest(parseUserAgentStringRequest ParseUserAgentStringRequest) ApiParseUserAgentStringRequest

type Astronomy

type Astronomy struct {
	TimeZone                   *string           `json:"time_zone,omitempty"`
	Date                       *string           `json:"date,omitempty"`
	CurrentTime                *string           `json:"current_time,omitempty"`
	MidNight                   *string           `json:"mid_night,omitempty"`
	NightEnd                   *string           `json:"night_end,omitempty"`
	Morning                    *AstronomyMorning `json:"morning,omitempty"`
	Sunrise                    *string           `json:"sunrise,omitempty"`
	Sunset                     *string           `json:"sunset,omitempty"`
	Evening                    *AstronomyEvening `json:"evening,omitempty"`
	NightBegin                 *string           `json:"night_begin,omitempty"`
	SunStatus                  *string           `json:"sun_status,omitempty"`
	SolarNoon                  *string           `json:"solar_noon,omitempty"`
	DayLength                  *string           `json:"day_length,omitempty"`
	SunAltitude                *float32          `json:"sun_altitude,omitempty"`
	SunDistance                *float32          `json:"sun_distance,omitempty"`
	SunAzimuth                 *float32          `json:"sun_azimuth,omitempty"`
	MoonPhase                  *string           `json:"moon_phase,omitempty"`
	Moonrise                   *string           `json:"moonrise,omitempty"`
	Moonset                    *string           `json:"moonset,omitempty"`
	MoonStatus                 *string           `json:"moon_status,omitempty"`
	MoonAltitude               *float32          `json:"moon_altitude,omitempty"`
	MoonDistance               *float32          `json:"moon_distance,omitempty"`
	MoonAzimuth                *float32          `json:"moon_azimuth,omitempty"`
	MoonParallacticAngle       *float32          `json:"moon_parallactic_angle,omitempty"`
	MoonIlluminationPercentage *string           `json:"moon_illumination_percentage,omitempty"`
	MoonAngle                  *float32          `json:"moon_angle,omitempty"`
}

Astronomy struct for Astronomy

func NewAstronomy

func NewAstronomy() *Astronomy

NewAstronomy instantiates a new Astronomy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAstronomyWithDefaults

func NewAstronomyWithDefaults() *Astronomy

NewAstronomyWithDefaults instantiates a new Astronomy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Astronomy) GetCurrentTime

func (o *Astronomy) GetCurrentTime() string

GetCurrentTime returns the CurrentTime field value if set, zero value otherwise.

func (*Astronomy) GetCurrentTimeOk

func (o *Astronomy) GetCurrentTimeOk() (*string, bool)

GetCurrentTimeOk returns a tuple with the CurrentTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetDate

func (o *Astronomy) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*Astronomy) GetDateOk

func (o *Astronomy) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetDayLength

func (o *Astronomy) GetDayLength() string

GetDayLength returns the DayLength field value if set, zero value otherwise.

func (*Astronomy) GetDayLengthOk

func (o *Astronomy) GetDayLengthOk() (*string, bool)

GetDayLengthOk returns a tuple with the DayLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetEvening

func (o *Astronomy) GetEvening() AstronomyEvening

GetEvening returns the Evening field value if set, zero value otherwise.

func (*Astronomy) GetEveningOk

func (o *Astronomy) GetEveningOk() (*AstronomyEvening, bool)

GetEveningOk returns a tuple with the Evening field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMidNight

func (o *Astronomy) GetMidNight() string

GetMidNight returns the MidNight field value if set, zero value otherwise.

func (*Astronomy) GetMidNightOk

func (o *Astronomy) GetMidNightOk() (*string, bool)

GetMidNightOk returns a tuple with the MidNight field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonAltitude

func (o *Astronomy) GetMoonAltitude() float32

GetMoonAltitude returns the MoonAltitude field value if set, zero value otherwise.

func (*Astronomy) GetMoonAltitudeOk

func (o *Astronomy) GetMoonAltitudeOk() (*float32, bool)

GetMoonAltitudeOk returns a tuple with the MoonAltitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonAngle

func (o *Astronomy) GetMoonAngle() float32

GetMoonAngle returns the MoonAngle field value if set, zero value otherwise.

func (*Astronomy) GetMoonAngleOk

func (o *Astronomy) GetMoonAngleOk() (*float32, bool)

GetMoonAngleOk returns a tuple with the MoonAngle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonAzimuth

func (o *Astronomy) GetMoonAzimuth() float32

GetMoonAzimuth returns the MoonAzimuth field value if set, zero value otherwise.

func (*Astronomy) GetMoonAzimuthOk

func (o *Astronomy) GetMoonAzimuthOk() (*float32, bool)

GetMoonAzimuthOk returns a tuple with the MoonAzimuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonDistance

func (o *Astronomy) GetMoonDistance() float32

GetMoonDistance returns the MoonDistance field value if set, zero value otherwise.

func (*Astronomy) GetMoonDistanceOk

func (o *Astronomy) GetMoonDistanceOk() (*float32, bool)

GetMoonDistanceOk returns a tuple with the MoonDistance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonIlluminationPercentage

func (o *Astronomy) GetMoonIlluminationPercentage() string

GetMoonIlluminationPercentage returns the MoonIlluminationPercentage field value if set, zero value otherwise.

func (*Astronomy) GetMoonIlluminationPercentageOk

func (o *Astronomy) GetMoonIlluminationPercentageOk() (*string, bool)

GetMoonIlluminationPercentageOk returns a tuple with the MoonIlluminationPercentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonParallacticAngle

func (o *Astronomy) GetMoonParallacticAngle() float32

GetMoonParallacticAngle returns the MoonParallacticAngle field value if set, zero value otherwise.

func (*Astronomy) GetMoonParallacticAngleOk

func (o *Astronomy) GetMoonParallacticAngleOk() (*float32, bool)

GetMoonParallacticAngleOk returns a tuple with the MoonParallacticAngle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonPhase

func (o *Astronomy) GetMoonPhase() string

GetMoonPhase returns the MoonPhase field value if set, zero value otherwise.

func (*Astronomy) GetMoonPhaseOk

func (o *Astronomy) GetMoonPhaseOk() (*string, bool)

GetMoonPhaseOk returns a tuple with the MoonPhase field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonStatus

func (o *Astronomy) GetMoonStatus() string

GetMoonStatus returns the MoonStatus field value if set, zero value otherwise.

func (*Astronomy) GetMoonStatusOk

func (o *Astronomy) GetMoonStatusOk() (*string, bool)

GetMoonStatusOk returns a tuple with the MoonStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonrise

func (o *Astronomy) GetMoonrise() string

GetMoonrise returns the Moonrise field value if set, zero value otherwise.

func (*Astronomy) GetMoonriseOk

func (o *Astronomy) GetMoonriseOk() (*string, bool)

GetMoonriseOk returns a tuple with the Moonrise field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMoonset

func (o *Astronomy) GetMoonset() string

GetMoonset returns the Moonset field value if set, zero value otherwise.

func (*Astronomy) GetMoonsetOk

func (o *Astronomy) GetMoonsetOk() (*string, bool)

GetMoonsetOk returns a tuple with the Moonset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetMorning

func (o *Astronomy) GetMorning() AstronomyMorning

GetMorning returns the Morning field value if set, zero value otherwise.

func (*Astronomy) GetMorningOk

func (o *Astronomy) GetMorningOk() (*AstronomyMorning, bool)

GetMorningOk returns a tuple with the Morning field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetNightBegin

func (o *Astronomy) GetNightBegin() string

GetNightBegin returns the NightBegin field value if set, zero value otherwise.

func (*Astronomy) GetNightBeginOk

func (o *Astronomy) GetNightBeginOk() (*string, bool)

GetNightBeginOk returns a tuple with the NightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetNightEnd

func (o *Astronomy) GetNightEnd() string

GetNightEnd returns the NightEnd field value if set, zero value otherwise.

func (*Astronomy) GetNightEndOk

func (o *Astronomy) GetNightEndOk() (*string, bool)

GetNightEndOk returns a tuple with the NightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSolarNoon

func (o *Astronomy) GetSolarNoon() string

GetSolarNoon returns the SolarNoon field value if set, zero value otherwise.

func (*Astronomy) GetSolarNoonOk

func (o *Astronomy) GetSolarNoonOk() (*string, bool)

GetSolarNoonOk returns a tuple with the SolarNoon field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSunAltitude

func (o *Astronomy) GetSunAltitude() float32

GetSunAltitude returns the SunAltitude field value if set, zero value otherwise.

func (*Astronomy) GetSunAltitudeOk

func (o *Astronomy) GetSunAltitudeOk() (*float32, bool)

GetSunAltitudeOk returns a tuple with the SunAltitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSunAzimuth

func (o *Astronomy) GetSunAzimuth() float32

GetSunAzimuth returns the SunAzimuth field value if set, zero value otherwise.

func (*Astronomy) GetSunAzimuthOk

func (o *Astronomy) GetSunAzimuthOk() (*float32, bool)

GetSunAzimuthOk returns a tuple with the SunAzimuth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSunDistance

func (o *Astronomy) GetSunDistance() float32

GetSunDistance returns the SunDistance field value if set, zero value otherwise.

func (*Astronomy) GetSunDistanceOk

func (o *Astronomy) GetSunDistanceOk() (*float32, bool)

GetSunDistanceOk returns a tuple with the SunDistance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSunStatus

func (o *Astronomy) GetSunStatus() string

GetSunStatus returns the SunStatus field value if set, zero value otherwise.

func (*Astronomy) GetSunStatusOk

func (o *Astronomy) GetSunStatusOk() (*string, bool)

GetSunStatusOk returns a tuple with the SunStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSunrise

func (o *Astronomy) GetSunrise() string

GetSunrise returns the Sunrise field value if set, zero value otherwise.

func (*Astronomy) GetSunriseOk

func (o *Astronomy) GetSunriseOk() (*string, bool)

GetSunriseOk returns a tuple with the Sunrise field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetSunset

func (o *Astronomy) GetSunset() string

GetSunset returns the Sunset field value if set, zero value otherwise.

func (*Astronomy) GetSunsetOk

func (o *Astronomy) GetSunsetOk() (*string, bool)

GetSunsetOk returns a tuple with the Sunset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) GetTimeZone

func (o *Astronomy) GetTimeZone() string

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*Astronomy) GetTimeZoneOk

func (o *Astronomy) GetTimeZoneOk() (*string, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Astronomy) HasCurrentTime

func (o *Astronomy) HasCurrentTime() bool

HasCurrentTime returns a boolean if a field has been set.

func (*Astronomy) HasDate

func (o *Astronomy) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*Astronomy) HasDayLength

func (o *Astronomy) HasDayLength() bool

HasDayLength returns a boolean if a field has been set.

func (*Astronomy) HasEvening

func (o *Astronomy) HasEvening() bool

HasEvening returns a boolean if a field has been set.

func (*Astronomy) HasMidNight

func (o *Astronomy) HasMidNight() bool

HasMidNight returns a boolean if a field has been set.

func (*Astronomy) HasMoonAltitude

func (o *Astronomy) HasMoonAltitude() bool

HasMoonAltitude returns a boolean if a field has been set.

func (*Astronomy) HasMoonAngle

func (o *Astronomy) HasMoonAngle() bool

HasMoonAngle returns a boolean if a field has been set.

func (*Astronomy) HasMoonAzimuth

func (o *Astronomy) HasMoonAzimuth() bool

HasMoonAzimuth returns a boolean if a field has been set.

func (*Astronomy) HasMoonDistance

func (o *Astronomy) HasMoonDistance() bool

HasMoonDistance returns a boolean if a field has been set.

func (*Astronomy) HasMoonIlluminationPercentage

func (o *Astronomy) HasMoonIlluminationPercentage() bool

HasMoonIlluminationPercentage returns a boolean if a field has been set.

func (*Astronomy) HasMoonParallacticAngle

func (o *Astronomy) HasMoonParallacticAngle() bool

HasMoonParallacticAngle returns a boolean if a field has been set.

func (*Astronomy) HasMoonPhase

func (o *Astronomy) HasMoonPhase() bool

HasMoonPhase returns a boolean if a field has been set.

func (*Astronomy) HasMoonStatus

func (o *Astronomy) HasMoonStatus() bool

HasMoonStatus returns a boolean if a field has been set.

func (*Astronomy) HasMoonrise

func (o *Astronomy) HasMoonrise() bool

HasMoonrise returns a boolean if a field has been set.

func (*Astronomy) HasMoonset

func (o *Astronomy) HasMoonset() bool

HasMoonset returns a boolean if a field has been set.

func (*Astronomy) HasMorning

func (o *Astronomy) HasMorning() bool

HasMorning returns a boolean if a field has been set.

func (*Astronomy) HasNightBegin

func (o *Astronomy) HasNightBegin() bool

HasNightBegin returns a boolean if a field has been set.

func (*Astronomy) HasNightEnd

func (o *Astronomy) HasNightEnd() bool

HasNightEnd returns a boolean if a field has been set.

func (*Astronomy) HasSolarNoon

func (o *Astronomy) HasSolarNoon() bool

HasSolarNoon returns a boolean if a field has been set.

func (*Astronomy) HasSunAltitude

func (o *Astronomy) HasSunAltitude() bool

HasSunAltitude returns a boolean if a field has been set.

func (*Astronomy) HasSunAzimuth

func (o *Astronomy) HasSunAzimuth() bool

HasSunAzimuth returns a boolean if a field has been set.

func (*Astronomy) HasSunDistance

func (o *Astronomy) HasSunDistance() bool

HasSunDistance returns a boolean if a field has been set.

func (*Astronomy) HasSunStatus

func (o *Astronomy) HasSunStatus() bool

HasSunStatus returns a boolean if a field has been set.

func (*Astronomy) HasSunrise

func (o *Astronomy) HasSunrise() bool

HasSunrise returns a boolean if a field has been set.

func (*Astronomy) HasSunset

func (o *Astronomy) HasSunset() bool

HasSunset returns a boolean if a field has been set.

func (*Astronomy) HasTimeZone

func (o *Astronomy) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (Astronomy) MarshalJSON

func (o Astronomy) MarshalJSON() ([]byte, error)

func (*Astronomy) SetCurrentTime

func (o *Astronomy) SetCurrentTime(v string)

SetCurrentTime gets a reference to the given string and assigns it to the CurrentTime field.

func (*Astronomy) SetDate

func (o *Astronomy) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*Astronomy) SetDayLength

func (o *Astronomy) SetDayLength(v string)

SetDayLength gets a reference to the given string and assigns it to the DayLength field.

func (*Astronomy) SetEvening

func (o *Astronomy) SetEvening(v AstronomyEvening)

SetEvening gets a reference to the given AstronomyEvening and assigns it to the Evening field.

func (*Astronomy) SetMidNight

func (o *Astronomy) SetMidNight(v string)

SetMidNight gets a reference to the given string and assigns it to the MidNight field.

func (*Astronomy) SetMoonAltitude

func (o *Astronomy) SetMoonAltitude(v float32)

SetMoonAltitude gets a reference to the given float32 and assigns it to the MoonAltitude field.

func (*Astronomy) SetMoonAngle

func (o *Astronomy) SetMoonAngle(v float32)

SetMoonAngle gets a reference to the given float32 and assigns it to the MoonAngle field.

func (*Astronomy) SetMoonAzimuth

func (o *Astronomy) SetMoonAzimuth(v float32)

SetMoonAzimuth gets a reference to the given float32 and assigns it to the MoonAzimuth field.

func (*Astronomy) SetMoonDistance

func (o *Astronomy) SetMoonDistance(v float32)

SetMoonDistance gets a reference to the given float32 and assigns it to the MoonDistance field.

func (*Astronomy) SetMoonIlluminationPercentage

func (o *Astronomy) SetMoonIlluminationPercentage(v string)

SetMoonIlluminationPercentage gets a reference to the given string and assigns it to the MoonIlluminationPercentage field.

func (*Astronomy) SetMoonParallacticAngle

func (o *Astronomy) SetMoonParallacticAngle(v float32)

SetMoonParallacticAngle gets a reference to the given float32 and assigns it to the MoonParallacticAngle field.

func (*Astronomy) SetMoonPhase

func (o *Astronomy) SetMoonPhase(v string)

SetMoonPhase gets a reference to the given string and assigns it to the MoonPhase field.

func (*Astronomy) SetMoonStatus

func (o *Astronomy) SetMoonStatus(v string)

SetMoonStatus gets a reference to the given string and assigns it to the MoonStatus field.

func (*Astronomy) SetMoonrise

func (o *Astronomy) SetMoonrise(v string)

SetMoonrise gets a reference to the given string and assigns it to the Moonrise field.

func (*Astronomy) SetMoonset

func (o *Astronomy) SetMoonset(v string)

SetMoonset gets a reference to the given string and assigns it to the Moonset field.

func (*Astronomy) SetMorning

func (o *Astronomy) SetMorning(v AstronomyMorning)

SetMorning gets a reference to the given AstronomyMorning and assigns it to the Morning field.

func (*Astronomy) SetNightBegin

func (o *Astronomy) SetNightBegin(v string)

SetNightBegin gets a reference to the given string and assigns it to the NightBegin field.

func (*Astronomy) SetNightEnd

func (o *Astronomy) SetNightEnd(v string)

SetNightEnd gets a reference to the given string and assigns it to the NightEnd field.

func (*Astronomy) SetSolarNoon

func (o *Astronomy) SetSolarNoon(v string)

SetSolarNoon gets a reference to the given string and assigns it to the SolarNoon field.

func (*Astronomy) SetSunAltitude

func (o *Astronomy) SetSunAltitude(v float32)

SetSunAltitude gets a reference to the given float32 and assigns it to the SunAltitude field.

func (*Astronomy) SetSunAzimuth

func (o *Astronomy) SetSunAzimuth(v float32)

SetSunAzimuth gets a reference to the given float32 and assigns it to the SunAzimuth field.

func (*Astronomy) SetSunDistance

func (o *Astronomy) SetSunDistance(v float32)

SetSunDistance gets a reference to the given float32 and assigns it to the SunDistance field.

func (*Astronomy) SetSunStatus

func (o *Astronomy) SetSunStatus(v string)

SetSunStatus gets a reference to the given string and assigns it to the SunStatus field.

func (*Astronomy) SetSunrise

func (o *Astronomy) SetSunrise(v string)

SetSunrise gets a reference to the given string and assigns it to the Sunrise field.

func (*Astronomy) SetSunset

func (o *Astronomy) SetSunset(v string)

SetSunset gets a reference to the given string and assigns it to the Sunset field.

func (*Astronomy) SetTimeZone

func (o *Astronomy) SetTimeZone(v string)

SetTimeZone gets a reference to the given string and assigns it to the TimeZone field.

func (Astronomy) ToMap

func (o Astronomy) ToMap() (map[string]interface{}, error)

type AstronomyAPI

type AstronomyAPI interface {

	/*
		GetAstronomyDetails Method for GetAstronomyDetails

		The Astronomy API provides the location-based rise and set times for the Sun and Moon along with the current position, distance from earth, and azimuth of the Sun and the Moon for a specific date at the queried time.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetAstronomyDetailsRequest
	*/
	GetAstronomyDetails(ctx context.Context) ApiGetAstronomyDetailsRequest

	// GetAstronomyDetailsExecute executes the request
	//  @return AstronomyResponse
	GetAstronomyDetailsExecute(r ApiGetAstronomyDetailsRequest) (*AstronomyResponse, *http.Response, error)
}

type AstronomyAPIService

type AstronomyAPIService service

AstronomyAPIService AstronomyAPI service

func (*AstronomyAPIService) GetAstronomyDetails

GetAstronomyDetails Method for GetAstronomyDetails

The Astronomy API provides the location-based rise and set times for the Sun and Moon along with the current position, distance from earth, and azimuth of the Sun and the Moon for a specific date at the queried time.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetAstronomyDetailsRequest

func (*AstronomyAPIService) GetAstronomyDetailsExecute

Execute executes the request

@return AstronomyResponse

type AstronomyEvening

type AstronomyEvening struct {
	GoldenHourBegin           *string `json:"golden_hour_begin,omitempty"`
	GoldenHourEnd             *string `json:"golden_hour_end,omitempty"`
	BlueHourBegin             *string `json:"blue_hour_begin,omitempty"`
	BlueHourEnd               *string `json:"blue_hour_end,omitempty"`
	CivilTwilightBegin        *string `json:"civil_twilight_begin,omitempty"`
	CivilTwilightEnd          *string `json:"civil_twilight_end,omitempty"`
	NauticalTwilightBegin     *string `json:"nautical_twilight_begin,omitempty"`
	NauticalTwilightEnd       *string `json:"nautical_twilight_end,omitempty"`
	AstronomicalTwilightBegin *string `json:"astronomical_twilight_begin,omitempty"`
	AstronomicalTwilightEnd   *string `json:"astronomical_twilight_end,omitempty"`
}

AstronomyEvening struct for AstronomyEvening

func NewAstronomyEvening

func NewAstronomyEvening() *AstronomyEvening

NewAstronomyEvening instantiates a new AstronomyEvening object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAstronomyEveningWithDefaults

func NewAstronomyEveningWithDefaults() *AstronomyEvening

NewAstronomyEveningWithDefaults instantiates a new AstronomyEvening object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AstronomyEvening) GetAstronomicalTwilightBegin

func (o *AstronomyEvening) GetAstronomicalTwilightBegin() string

GetAstronomicalTwilightBegin returns the AstronomicalTwilightBegin field value if set, zero value otherwise.

func (*AstronomyEvening) GetAstronomicalTwilightBeginOk

func (o *AstronomyEvening) GetAstronomicalTwilightBeginOk() (*string, bool)

GetAstronomicalTwilightBeginOk returns a tuple with the AstronomicalTwilightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetAstronomicalTwilightEnd

func (o *AstronomyEvening) GetAstronomicalTwilightEnd() string

GetAstronomicalTwilightEnd returns the AstronomicalTwilightEnd field value if set, zero value otherwise.

func (*AstronomyEvening) GetAstronomicalTwilightEndOk

func (o *AstronomyEvening) GetAstronomicalTwilightEndOk() (*string, bool)

GetAstronomicalTwilightEndOk returns a tuple with the AstronomicalTwilightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetBlueHourBegin

func (o *AstronomyEvening) GetBlueHourBegin() string

GetBlueHourBegin returns the BlueHourBegin field value if set, zero value otherwise.

func (*AstronomyEvening) GetBlueHourBeginOk

func (o *AstronomyEvening) GetBlueHourBeginOk() (*string, bool)

GetBlueHourBeginOk returns a tuple with the BlueHourBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetBlueHourEnd

func (o *AstronomyEvening) GetBlueHourEnd() string

GetBlueHourEnd returns the BlueHourEnd field value if set, zero value otherwise.

func (*AstronomyEvening) GetBlueHourEndOk

func (o *AstronomyEvening) GetBlueHourEndOk() (*string, bool)

GetBlueHourEndOk returns a tuple with the BlueHourEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetCivilTwilightBegin

func (o *AstronomyEvening) GetCivilTwilightBegin() string

GetCivilTwilightBegin returns the CivilTwilightBegin field value if set, zero value otherwise.

func (*AstronomyEvening) GetCivilTwilightBeginOk

func (o *AstronomyEvening) GetCivilTwilightBeginOk() (*string, bool)

GetCivilTwilightBeginOk returns a tuple with the CivilTwilightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetCivilTwilightEnd

func (o *AstronomyEvening) GetCivilTwilightEnd() string

GetCivilTwilightEnd returns the CivilTwilightEnd field value if set, zero value otherwise.

func (*AstronomyEvening) GetCivilTwilightEndOk

func (o *AstronomyEvening) GetCivilTwilightEndOk() (*string, bool)

GetCivilTwilightEndOk returns a tuple with the CivilTwilightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetGoldenHourBegin

func (o *AstronomyEvening) GetGoldenHourBegin() string

GetGoldenHourBegin returns the GoldenHourBegin field value if set, zero value otherwise.

func (*AstronomyEvening) GetGoldenHourBeginOk

func (o *AstronomyEvening) GetGoldenHourBeginOk() (*string, bool)

GetGoldenHourBeginOk returns a tuple with the GoldenHourBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetGoldenHourEnd

func (o *AstronomyEvening) GetGoldenHourEnd() string

GetGoldenHourEnd returns the GoldenHourEnd field value if set, zero value otherwise.

func (*AstronomyEvening) GetGoldenHourEndOk

func (o *AstronomyEvening) GetGoldenHourEndOk() (*string, bool)

GetGoldenHourEndOk returns a tuple with the GoldenHourEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetNauticalTwilightBegin

func (o *AstronomyEvening) GetNauticalTwilightBegin() string

GetNauticalTwilightBegin returns the NauticalTwilightBegin field value if set, zero value otherwise.

func (*AstronomyEvening) GetNauticalTwilightBeginOk

func (o *AstronomyEvening) GetNauticalTwilightBeginOk() (*string, bool)

GetNauticalTwilightBeginOk returns a tuple with the NauticalTwilightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) GetNauticalTwilightEnd

func (o *AstronomyEvening) GetNauticalTwilightEnd() string

GetNauticalTwilightEnd returns the NauticalTwilightEnd field value if set, zero value otherwise.

func (*AstronomyEvening) GetNauticalTwilightEndOk

func (o *AstronomyEvening) GetNauticalTwilightEndOk() (*string, bool)

GetNauticalTwilightEndOk returns a tuple with the NauticalTwilightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyEvening) HasAstronomicalTwilightBegin

func (o *AstronomyEvening) HasAstronomicalTwilightBegin() bool

HasAstronomicalTwilightBegin returns a boolean if a field has been set.

func (*AstronomyEvening) HasAstronomicalTwilightEnd

func (o *AstronomyEvening) HasAstronomicalTwilightEnd() bool

HasAstronomicalTwilightEnd returns a boolean if a field has been set.

func (*AstronomyEvening) HasBlueHourBegin

func (o *AstronomyEvening) HasBlueHourBegin() bool

HasBlueHourBegin returns a boolean if a field has been set.

func (*AstronomyEvening) HasBlueHourEnd

func (o *AstronomyEvening) HasBlueHourEnd() bool

HasBlueHourEnd returns a boolean if a field has been set.

func (*AstronomyEvening) HasCivilTwilightBegin

func (o *AstronomyEvening) HasCivilTwilightBegin() bool

HasCivilTwilightBegin returns a boolean if a field has been set.

func (*AstronomyEvening) HasCivilTwilightEnd

func (o *AstronomyEvening) HasCivilTwilightEnd() bool

HasCivilTwilightEnd returns a boolean if a field has been set.

func (*AstronomyEvening) HasGoldenHourBegin

func (o *AstronomyEvening) HasGoldenHourBegin() bool

HasGoldenHourBegin returns a boolean if a field has been set.

func (*AstronomyEvening) HasGoldenHourEnd

func (o *AstronomyEvening) HasGoldenHourEnd() bool

HasGoldenHourEnd returns a boolean if a field has been set.

func (*AstronomyEvening) HasNauticalTwilightBegin

func (o *AstronomyEvening) HasNauticalTwilightBegin() bool

HasNauticalTwilightBegin returns a boolean if a field has been set.

func (*AstronomyEvening) HasNauticalTwilightEnd

func (o *AstronomyEvening) HasNauticalTwilightEnd() bool

HasNauticalTwilightEnd returns a boolean if a field has been set.

func (AstronomyEvening) MarshalJSON

func (o AstronomyEvening) MarshalJSON() ([]byte, error)

func (*AstronomyEvening) SetAstronomicalTwilightBegin

func (o *AstronomyEvening) SetAstronomicalTwilightBegin(v string)

SetAstronomicalTwilightBegin gets a reference to the given string and assigns it to the AstronomicalTwilightBegin field.

func (*AstronomyEvening) SetAstronomicalTwilightEnd

func (o *AstronomyEvening) SetAstronomicalTwilightEnd(v string)

SetAstronomicalTwilightEnd gets a reference to the given string and assigns it to the AstronomicalTwilightEnd field.

func (*AstronomyEvening) SetBlueHourBegin

func (o *AstronomyEvening) SetBlueHourBegin(v string)

SetBlueHourBegin gets a reference to the given string and assigns it to the BlueHourBegin field.

func (*AstronomyEvening) SetBlueHourEnd

func (o *AstronomyEvening) SetBlueHourEnd(v string)

SetBlueHourEnd gets a reference to the given string and assigns it to the BlueHourEnd field.

func (*AstronomyEvening) SetCivilTwilightBegin

func (o *AstronomyEvening) SetCivilTwilightBegin(v string)

SetCivilTwilightBegin gets a reference to the given string and assigns it to the CivilTwilightBegin field.

func (*AstronomyEvening) SetCivilTwilightEnd

func (o *AstronomyEvening) SetCivilTwilightEnd(v string)

SetCivilTwilightEnd gets a reference to the given string and assigns it to the CivilTwilightEnd field.

func (*AstronomyEvening) SetGoldenHourBegin

func (o *AstronomyEvening) SetGoldenHourBegin(v string)

SetGoldenHourBegin gets a reference to the given string and assigns it to the GoldenHourBegin field.

func (*AstronomyEvening) SetGoldenHourEnd

func (o *AstronomyEvening) SetGoldenHourEnd(v string)

SetGoldenHourEnd gets a reference to the given string and assigns it to the GoldenHourEnd field.

func (*AstronomyEvening) SetNauticalTwilightBegin

func (o *AstronomyEvening) SetNauticalTwilightBegin(v string)

SetNauticalTwilightBegin gets a reference to the given string and assigns it to the NauticalTwilightBegin field.

func (*AstronomyEvening) SetNauticalTwilightEnd

func (o *AstronomyEvening) SetNauticalTwilightEnd(v string)

SetNauticalTwilightEnd gets a reference to the given string and assigns it to the NauticalTwilightEnd field.

func (AstronomyEvening) ToMap

func (o AstronomyEvening) ToMap() (map[string]interface{}, error)

type AstronomyLocation

type AstronomyLocation struct {
	LocationString      *string `json:"location_string,omitempty"`
	ContinentCode       *string `json:"continent_code,omitempty"`
	ContinentName       *string `json:"continent_name,omitempty"`
	CountryCode2        *string `json:"country_code2,omitempty"`
	CountryCode3        *string `json:"country_code3,omitempty"`
	CountryName         *string `json:"country_name,omitempty"`
	CountryNameOfficial *string `json:"country_name_official,omitempty"`
	IsEu                *bool   `json:"is_eu,omitempty"`
	StateProv           *string `json:"state_prov,omitempty"`
	StateCode           *string `json:"state_code,omitempty"`
	District            *string `json:"district,omitempty"`
	City                *string `json:"city,omitempty"`
	Locality            *string `json:"locality,omitempty"`
	Zipcode             *string `json:"zipcode,omitempty"`
	Latitude            *string `json:"latitude,omitempty"`
	Longitude           *string `json:"longitude,omitempty"`
	Elevation           *string `json:"elevation,omitempty"`
}

AstronomyLocation struct for AstronomyLocation

func NewAstronomyLocation

func NewAstronomyLocation() *AstronomyLocation

NewAstronomyLocation instantiates a new AstronomyLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAstronomyLocationWithDefaults

func NewAstronomyLocationWithDefaults() *AstronomyLocation

NewAstronomyLocationWithDefaults instantiates a new AstronomyLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AstronomyLocation) GetCity

func (o *AstronomyLocation) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*AstronomyLocation) GetCityOk

func (o *AstronomyLocation) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetContinentCode

func (o *AstronomyLocation) GetContinentCode() string

GetContinentCode returns the ContinentCode field value if set, zero value otherwise.

func (*AstronomyLocation) GetContinentCodeOk

func (o *AstronomyLocation) GetContinentCodeOk() (*string, bool)

GetContinentCodeOk returns a tuple with the ContinentCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetContinentName

func (o *AstronomyLocation) GetContinentName() string

GetContinentName returns the ContinentName field value if set, zero value otherwise.

func (*AstronomyLocation) GetContinentNameOk

func (o *AstronomyLocation) GetContinentNameOk() (*string, bool)

GetContinentNameOk returns a tuple with the ContinentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetCountryCode2

func (o *AstronomyLocation) GetCountryCode2() string

GetCountryCode2 returns the CountryCode2 field value if set, zero value otherwise.

func (*AstronomyLocation) GetCountryCode2Ok

func (o *AstronomyLocation) GetCountryCode2Ok() (*string, bool)

GetCountryCode2Ok returns a tuple with the CountryCode2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetCountryCode3

func (o *AstronomyLocation) GetCountryCode3() string

GetCountryCode3 returns the CountryCode3 field value if set, zero value otherwise.

func (*AstronomyLocation) GetCountryCode3Ok

func (o *AstronomyLocation) GetCountryCode3Ok() (*string, bool)

GetCountryCode3Ok returns a tuple with the CountryCode3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetCountryName

func (o *AstronomyLocation) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*AstronomyLocation) GetCountryNameOfficial

func (o *AstronomyLocation) GetCountryNameOfficial() string

GetCountryNameOfficial returns the CountryNameOfficial field value if set, zero value otherwise.

func (*AstronomyLocation) GetCountryNameOfficialOk

func (o *AstronomyLocation) GetCountryNameOfficialOk() (*string, bool)

GetCountryNameOfficialOk returns a tuple with the CountryNameOfficial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetCountryNameOk

func (o *AstronomyLocation) GetCountryNameOk() (*string, bool)

GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetDistrict

func (o *AstronomyLocation) GetDistrict() string

GetDistrict returns the District field value if set, zero value otherwise.

func (*AstronomyLocation) GetDistrictOk

func (o *AstronomyLocation) GetDistrictOk() (*string, bool)

GetDistrictOk returns a tuple with the District field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetElevation

func (o *AstronomyLocation) GetElevation() string

GetElevation returns the Elevation field value if set, zero value otherwise.

func (*AstronomyLocation) GetElevationOk

func (o *AstronomyLocation) GetElevationOk() (*string, bool)

GetElevationOk returns a tuple with the Elevation field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetIsEu

func (o *AstronomyLocation) GetIsEu() bool

GetIsEu returns the IsEu field value if set, zero value otherwise.

func (*AstronomyLocation) GetIsEuOk

func (o *AstronomyLocation) GetIsEuOk() (*bool, bool)

GetIsEuOk returns a tuple with the IsEu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetLatitude

func (o *AstronomyLocation) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*AstronomyLocation) GetLatitudeOk

func (o *AstronomyLocation) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetLocality

func (o *AstronomyLocation) GetLocality() string

GetLocality returns the Locality field value if set, zero value otherwise.

func (*AstronomyLocation) GetLocalityOk

func (o *AstronomyLocation) GetLocalityOk() (*string, bool)

GetLocalityOk returns a tuple with the Locality field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetLocationString

func (o *AstronomyLocation) GetLocationString() string

GetLocationString returns the LocationString field value if set, zero value otherwise.

func (*AstronomyLocation) GetLocationStringOk

func (o *AstronomyLocation) GetLocationStringOk() (*string, bool)

GetLocationStringOk returns a tuple with the LocationString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetLongitude

func (o *AstronomyLocation) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*AstronomyLocation) GetLongitudeOk

func (o *AstronomyLocation) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetStateCode

func (o *AstronomyLocation) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise.

func (*AstronomyLocation) GetStateCodeOk

func (o *AstronomyLocation) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetStateProv

func (o *AstronomyLocation) GetStateProv() string

GetStateProv returns the StateProv field value if set, zero value otherwise.

func (*AstronomyLocation) GetStateProvOk

func (o *AstronomyLocation) GetStateProvOk() (*string, bool)

GetStateProvOk returns a tuple with the StateProv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) GetZipcode

func (o *AstronomyLocation) GetZipcode() string

GetZipcode returns the Zipcode field value if set, zero value otherwise.

func (*AstronomyLocation) GetZipcodeOk

func (o *AstronomyLocation) GetZipcodeOk() (*string, bool)

GetZipcodeOk returns a tuple with the Zipcode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyLocation) HasCity

func (o *AstronomyLocation) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*AstronomyLocation) HasContinentCode

func (o *AstronomyLocation) HasContinentCode() bool

HasContinentCode returns a boolean if a field has been set.

func (*AstronomyLocation) HasContinentName

func (o *AstronomyLocation) HasContinentName() bool

HasContinentName returns a boolean if a field has been set.

func (*AstronomyLocation) HasCountryCode2

func (o *AstronomyLocation) HasCountryCode2() bool

HasCountryCode2 returns a boolean if a field has been set.

func (*AstronomyLocation) HasCountryCode3

func (o *AstronomyLocation) HasCountryCode3() bool

HasCountryCode3 returns a boolean if a field has been set.

func (*AstronomyLocation) HasCountryName

func (o *AstronomyLocation) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*AstronomyLocation) HasCountryNameOfficial

func (o *AstronomyLocation) HasCountryNameOfficial() bool

HasCountryNameOfficial returns a boolean if a field has been set.

func (*AstronomyLocation) HasDistrict

func (o *AstronomyLocation) HasDistrict() bool

HasDistrict returns a boolean if a field has been set.

func (*AstronomyLocation) HasElevation

func (o *AstronomyLocation) HasElevation() bool

HasElevation returns a boolean if a field has been set.

func (*AstronomyLocation) HasIsEu

func (o *AstronomyLocation) HasIsEu() bool

HasIsEu returns a boolean if a field has been set.

func (*AstronomyLocation) HasLatitude

func (o *AstronomyLocation) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*AstronomyLocation) HasLocality

func (o *AstronomyLocation) HasLocality() bool

HasLocality returns a boolean if a field has been set.

func (*AstronomyLocation) HasLocationString

func (o *AstronomyLocation) HasLocationString() bool

HasLocationString returns a boolean if a field has been set.

func (*AstronomyLocation) HasLongitude

func (o *AstronomyLocation) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*AstronomyLocation) HasStateCode

func (o *AstronomyLocation) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (*AstronomyLocation) HasStateProv

func (o *AstronomyLocation) HasStateProv() bool

HasStateProv returns a boolean if a field has been set.

func (*AstronomyLocation) HasZipcode

func (o *AstronomyLocation) HasZipcode() bool

HasZipcode returns a boolean if a field has been set.

func (AstronomyLocation) MarshalJSON

func (o AstronomyLocation) MarshalJSON() ([]byte, error)

func (*AstronomyLocation) SetCity

func (o *AstronomyLocation) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*AstronomyLocation) SetContinentCode

func (o *AstronomyLocation) SetContinentCode(v string)

SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.

func (*AstronomyLocation) SetContinentName

func (o *AstronomyLocation) SetContinentName(v string)

SetContinentName gets a reference to the given string and assigns it to the ContinentName field.

func (*AstronomyLocation) SetCountryCode2

func (o *AstronomyLocation) SetCountryCode2(v string)

SetCountryCode2 gets a reference to the given string and assigns it to the CountryCode2 field.

func (*AstronomyLocation) SetCountryCode3

func (o *AstronomyLocation) SetCountryCode3(v string)

SetCountryCode3 gets a reference to the given string and assigns it to the CountryCode3 field.

func (*AstronomyLocation) SetCountryName

func (o *AstronomyLocation) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*AstronomyLocation) SetCountryNameOfficial

func (o *AstronomyLocation) SetCountryNameOfficial(v string)

SetCountryNameOfficial gets a reference to the given string and assigns it to the CountryNameOfficial field.

func (*AstronomyLocation) SetDistrict

func (o *AstronomyLocation) SetDistrict(v string)

SetDistrict gets a reference to the given string and assigns it to the District field.

func (*AstronomyLocation) SetElevation

func (o *AstronomyLocation) SetElevation(v string)

SetElevation gets a reference to the given string and assigns it to the Elevation field.

func (*AstronomyLocation) SetIsEu

func (o *AstronomyLocation) SetIsEu(v bool)

SetIsEu gets a reference to the given bool and assigns it to the IsEu field.

func (*AstronomyLocation) SetLatitude

func (o *AstronomyLocation) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*AstronomyLocation) SetLocality

func (o *AstronomyLocation) SetLocality(v string)

SetLocality gets a reference to the given string and assigns it to the Locality field.

func (*AstronomyLocation) SetLocationString

func (o *AstronomyLocation) SetLocationString(v string)

SetLocationString gets a reference to the given string and assigns it to the LocationString field.

func (*AstronomyLocation) SetLongitude

func (o *AstronomyLocation) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*AstronomyLocation) SetStateCode

func (o *AstronomyLocation) SetStateCode(v string)

SetStateCode gets a reference to the given string and assigns it to the StateCode field.

func (*AstronomyLocation) SetStateProv

func (o *AstronomyLocation) SetStateProv(v string)

SetStateProv gets a reference to the given string and assigns it to the StateProv field.

func (*AstronomyLocation) SetZipcode

func (o *AstronomyLocation) SetZipcode(v string)

SetZipcode gets a reference to the given string and assigns it to the Zipcode field.

func (AstronomyLocation) ToMap

func (o AstronomyLocation) ToMap() (map[string]interface{}, error)

type AstronomyMorning

type AstronomyMorning struct {
	AstronomicalTwilightBegin *string `json:"astronomical_twilight_begin,omitempty"`
	AstronomicalTwilightEnd   *string `json:"astronomical_twilight_end,omitempty"`
	NauticalTwilightBegin     *string `json:"nautical_twilight_begin,omitempty"`
	NauticalTwilightEnd       *string `json:"nautical_twilight_end,omitempty"`
	CivilTwilightBegin        *string `json:"civil_twilight_begin,omitempty"`
	CivilTwilightEnd          *string `json:"civil_twilight_end,omitempty"`
	BlueHourBegin             *string `json:"blue_hour_begin,omitempty"`
	BlueHourEnd               *string `json:"blue_hour_end,omitempty"`
	GoldenHourBegin           *string `json:"golden_hour_begin,omitempty"`
	GoldenHourEnd             *string `json:"golden_hour_end,omitempty"`
}

AstronomyMorning struct for AstronomyMorning

func NewAstronomyMorning

func NewAstronomyMorning() *AstronomyMorning

NewAstronomyMorning instantiates a new AstronomyMorning object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAstronomyMorningWithDefaults

func NewAstronomyMorningWithDefaults() *AstronomyMorning

NewAstronomyMorningWithDefaults instantiates a new AstronomyMorning object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AstronomyMorning) GetAstronomicalTwilightBegin

func (o *AstronomyMorning) GetAstronomicalTwilightBegin() string

GetAstronomicalTwilightBegin returns the AstronomicalTwilightBegin field value if set, zero value otherwise.

func (*AstronomyMorning) GetAstronomicalTwilightBeginOk

func (o *AstronomyMorning) GetAstronomicalTwilightBeginOk() (*string, bool)

GetAstronomicalTwilightBeginOk returns a tuple with the AstronomicalTwilightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetAstronomicalTwilightEnd

func (o *AstronomyMorning) GetAstronomicalTwilightEnd() string

GetAstronomicalTwilightEnd returns the AstronomicalTwilightEnd field value if set, zero value otherwise.

func (*AstronomyMorning) GetAstronomicalTwilightEndOk

func (o *AstronomyMorning) GetAstronomicalTwilightEndOk() (*string, bool)

GetAstronomicalTwilightEndOk returns a tuple with the AstronomicalTwilightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetBlueHourBegin

func (o *AstronomyMorning) GetBlueHourBegin() string

GetBlueHourBegin returns the BlueHourBegin field value if set, zero value otherwise.

func (*AstronomyMorning) GetBlueHourBeginOk

func (o *AstronomyMorning) GetBlueHourBeginOk() (*string, bool)

GetBlueHourBeginOk returns a tuple with the BlueHourBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetBlueHourEnd

func (o *AstronomyMorning) GetBlueHourEnd() string

GetBlueHourEnd returns the BlueHourEnd field value if set, zero value otherwise.

func (*AstronomyMorning) GetBlueHourEndOk

func (o *AstronomyMorning) GetBlueHourEndOk() (*string, bool)

GetBlueHourEndOk returns a tuple with the BlueHourEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetCivilTwilightBegin

func (o *AstronomyMorning) GetCivilTwilightBegin() string

GetCivilTwilightBegin returns the CivilTwilightBegin field value if set, zero value otherwise.

func (*AstronomyMorning) GetCivilTwilightBeginOk

func (o *AstronomyMorning) GetCivilTwilightBeginOk() (*string, bool)

GetCivilTwilightBeginOk returns a tuple with the CivilTwilightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetCivilTwilightEnd

func (o *AstronomyMorning) GetCivilTwilightEnd() string

GetCivilTwilightEnd returns the CivilTwilightEnd field value if set, zero value otherwise.

func (*AstronomyMorning) GetCivilTwilightEndOk

func (o *AstronomyMorning) GetCivilTwilightEndOk() (*string, bool)

GetCivilTwilightEndOk returns a tuple with the CivilTwilightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetGoldenHourBegin

func (o *AstronomyMorning) GetGoldenHourBegin() string

GetGoldenHourBegin returns the GoldenHourBegin field value if set, zero value otherwise.

func (*AstronomyMorning) GetGoldenHourBeginOk

func (o *AstronomyMorning) GetGoldenHourBeginOk() (*string, bool)

GetGoldenHourBeginOk returns a tuple with the GoldenHourBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetGoldenHourEnd

func (o *AstronomyMorning) GetGoldenHourEnd() string

GetGoldenHourEnd returns the GoldenHourEnd field value if set, zero value otherwise.

func (*AstronomyMorning) GetGoldenHourEndOk

func (o *AstronomyMorning) GetGoldenHourEndOk() (*string, bool)

GetGoldenHourEndOk returns a tuple with the GoldenHourEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetNauticalTwilightBegin

func (o *AstronomyMorning) GetNauticalTwilightBegin() string

GetNauticalTwilightBegin returns the NauticalTwilightBegin field value if set, zero value otherwise.

func (*AstronomyMorning) GetNauticalTwilightBeginOk

func (o *AstronomyMorning) GetNauticalTwilightBeginOk() (*string, bool)

GetNauticalTwilightBeginOk returns a tuple with the NauticalTwilightBegin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) GetNauticalTwilightEnd

func (o *AstronomyMorning) GetNauticalTwilightEnd() string

GetNauticalTwilightEnd returns the NauticalTwilightEnd field value if set, zero value otherwise.

func (*AstronomyMorning) GetNauticalTwilightEndOk

func (o *AstronomyMorning) GetNauticalTwilightEndOk() (*string, bool)

GetNauticalTwilightEndOk returns a tuple with the NauticalTwilightEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyMorning) HasAstronomicalTwilightBegin

func (o *AstronomyMorning) HasAstronomicalTwilightBegin() bool

HasAstronomicalTwilightBegin returns a boolean if a field has been set.

func (*AstronomyMorning) HasAstronomicalTwilightEnd

func (o *AstronomyMorning) HasAstronomicalTwilightEnd() bool

HasAstronomicalTwilightEnd returns a boolean if a field has been set.

func (*AstronomyMorning) HasBlueHourBegin

func (o *AstronomyMorning) HasBlueHourBegin() bool

HasBlueHourBegin returns a boolean if a field has been set.

func (*AstronomyMorning) HasBlueHourEnd

func (o *AstronomyMorning) HasBlueHourEnd() bool

HasBlueHourEnd returns a boolean if a field has been set.

func (*AstronomyMorning) HasCivilTwilightBegin

func (o *AstronomyMorning) HasCivilTwilightBegin() bool

HasCivilTwilightBegin returns a boolean if a field has been set.

func (*AstronomyMorning) HasCivilTwilightEnd

func (o *AstronomyMorning) HasCivilTwilightEnd() bool

HasCivilTwilightEnd returns a boolean if a field has been set.

func (*AstronomyMorning) HasGoldenHourBegin

func (o *AstronomyMorning) HasGoldenHourBegin() bool

HasGoldenHourBegin returns a boolean if a field has been set.

func (*AstronomyMorning) HasGoldenHourEnd

func (o *AstronomyMorning) HasGoldenHourEnd() bool

HasGoldenHourEnd returns a boolean if a field has been set.

func (*AstronomyMorning) HasNauticalTwilightBegin

func (o *AstronomyMorning) HasNauticalTwilightBegin() bool

HasNauticalTwilightBegin returns a boolean if a field has been set.

func (*AstronomyMorning) HasNauticalTwilightEnd

func (o *AstronomyMorning) HasNauticalTwilightEnd() bool

HasNauticalTwilightEnd returns a boolean if a field has been set.

func (AstronomyMorning) MarshalJSON

func (o AstronomyMorning) MarshalJSON() ([]byte, error)

func (*AstronomyMorning) SetAstronomicalTwilightBegin

func (o *AstronomyMorning) SetAstronomicalTwilightBegin(v string)

SetAstronomicalTwilightBegin gets a reference to the given string and assigns it to the AstronomicalTwilightBegin field.

func (*AstronomyMorning) SetAstronomicalTwilightEnd

func (o *AstronomyMorning) SetAstronomicalTwilightEnd(v string)

SetAstronomicalTwilightEnd gets a reference to the given string and assigns it to the AstronomicalTwilightEnd field.

func (*AstronomyMorning) SetBlueHourBegin

func (o *AstronomyMorning) SetBlueHourBegin(v string)

SetBlueHourBegin gets a reference to the given string and assigns it to the BlueHourBegin field.

func (*AstronomyMorning) SetBlueHourEnd

func (o *AstronomyMorning) SetBlueHourEnd(v string)

SetBlueHourEnd gets a reference to the given string and assigns it to the BlueHourEnd field.

func (*AstronomyMorning) SetCivilTwilightBegin

func (o *AstronomyMorning) SetCivilTwilightBegin(v string)

SetCivilTwilightBegin gets a reference to the given string and assigns it to the CivilTwilightBegin field.

func (*AstronomyMorning) SetCivilTwilightEnd

func (o *AstronomyMorning) SetCivilTwilightEnd(v string)

SetCivilTwilightEnd gets a reference to the given string and assigns it to the CivilTwilightEnd field.

func (*AstronomyMorning) SetGoldenHourBegin

func (o *AstronomyMorning) SetGoldenHourBegin(v string)

SetGoldenHourBegin gets a reference to the given string and assigns it to the GoldenHourBegin field.

func (*AstronomyMorning) SetGoldenHourEnd

func (o *AstronomyMorning) SetGoldenHourEnd(v string)

SetGoldenHourEnd gets a reference to the given string and assigns it to the GoldenHourEnd field.

func (*AstronomyMorning) SetNauticalTwilightBegin

func (o *AstronomyMorning) SetNauticalTwilightBegin(v string)

SetNauticalTwilightBegin gets a reference to the given string and assigns it to the NauticalTwilightBegin field.

func (*AstronomyMorning) SetNauticalTwilightEnd

func (o *AstronomyMorning) SetNauticalTwilightEnd(v string)

SetNauticalTwilightEnd gets a reference to the given string and assigns it to the NauticalTwilightEnd field.

func (AstronomyMorning) ToMap

func (o AstronomyMorning) ToMap() (map[string]interface{}, error)

type AstronomyResponse

type AstronomyResponse struct {
	Ip        *string            `json:"ip,omitempty"`
	Location  *AstronomyLocation `json:"location,omitempty"`
	Astronomy *Astronomy         `json:"astronomy,omitempty"`
}

AstronomyResponse struct for AstronomyResponse

func NewAstronomyResponse

func NewAstronomyResponse() *AstronomyResponse

NewAstronomyResponse instantiates a new AstronomyResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAstronomyResponseWithDefaults

func NewAstronomyResponseWithDefaults() *AstronomyResponse

NewAstronomyResponseWithDefaults instantiates a new AstronomyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AstronomyResponse) GetAstronomy

func (o *AstronomyResponse) GetAstronomy() Astronomy

GetAstronomy returns the Astronomy field value if set, zero value otherwise.

func (*AstronomyResponse) GetAstronomyOk

func (o *AstronomyResponse) GetAstronomyOk() (*Astronomy, bool)

GetAstronomyOk returns a tuple with the Astronomy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyResponse) GetIp

func (o *AstronomyResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*AstronomyResponse) GetIpOk

func (o *AstronomyResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyResponse) GetLocation

func (o *AstronomyResponse) GetLocation() AstronomyLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*AstronomyResponse) GetLocationOk

func (o *AstronomyResponse) GetLocationOk() (*AstronomyLocation, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyResponse) HasAstronomy

func (o *AstronomyResponse) HasAstronomy() bool

HasAstronomy returns a boolean if a field has been set.

func (*AstronomyResponse) HasIp

func (o *AstronomyResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*AstronomyResponse) HasLocation

func (o *AstronomyResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (AstronomyResponse) MarshalJSON

func (o AstronomyResponse) MarshalJSON() ([]byte, error)

func (*AstronomyResponse) SetAstronomy

func (o *AstronomyResponse) SetAstronomy(v Astronomy)

SetAstronomy gets a reference to the given Astronomy and assigns it to the Astronomy field.

func (*AstronomyResponse) SetIp

func (o *AstronomyResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*AstronomyResponse) SetLocation

func (o *AstronomyResponse) SetLocation(v AstronomyLocation)

SetLocation gets a reference to the given AstronomyLocation and assigns it to the Location field.

func (AstronomyResponse) ToMap

func (o AstronomyResponse) ToMap() (map[string]interface{}, error)

type AstronomyXMLResponse

type AstronomyXMLResponse struct {
	Ip        *string           `json:"ip,omitempty"`
	Location  *TimezoneLocation `json:"location,omitempty"`
	Astronomy *Astronomy        `json:"astronomy,omitempty"`
}

AstronomyXMLResponse struct for AstronomyXMLResponse

func NewAstronomyXMLResponse

func NewAstronomyXMLResponse() *AstronomyXMLResponse

NewAstronomyXMLResponse instantiates a new AstronomyXMLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAstronomyXMLResponseWithDefaults

func NewAstronomyXMLResponseWithDefaults() *AstronomyXMLResponse

NewAstronomyXMLResponseWithDefaults instantiates a new AstronomyXMLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AstronomyXMLResponse) GetAstronomy

func (o *AstronomyXMLResponse) GetAstronomy() Astronomy

GetAstronomy returns the Astronomy field value if set, zero value otherwise.

func (*AstronomyXMLResponse) GetAstronomyOk

func (o *AstronomyXMLResponse) GetAstronomyOk() (*Astronomy, bool)

GetAstronomyOk returns a tuple with the Astronomy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyXMLResponse) GetIp

func (o *AstronomyXMLResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*AstronomyXMLResponse) GetIpOk

func (o *AstronomyXMLResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyXMLResponse) GetLocation

func (o *AstronomyXMLResponse) GetLocation() TimezoneLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*AstronomyXMLResponse) GetLocationOk

func (o *AstronomyXMLResponse) GetLocationOk() (*TimezoneLocation, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AstronomyXMLResponse) HasAstronomy

func (o *AstronomyXMLResponse) HasAstronomy() bool

HasAstronomy returns a boolean if a field has been set.

func (*AstronomyXMLResponse) HasIp

func (o *AstronomyXMLResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*AstronomyXMLResponse) HasLocation

func (o *AstronomyXMLResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (AstronomyXMLResponse) MarshalJSON

func (o AstronomyXMLResponse) MarshalJSON() ([]byte, error)

func (*AstronomyXMLResponse) SetAstronomy

func (o *AstronomyXMLResponse) SetAstronomy(v Astronomy)

SetAstronomy gets a reference to the given Astronomy and assigns it to the Astronomy field.

func (*AstronomyXMLResponse) SetIp

func (o *AstronomyXMLResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*AstronomyXMLResponse) SetLocation

func (o *AstronomyXMLResponse) SetLocation(v TimezoneLocation)

SetLocation gets a reference to the given TimezoneLocation and assigns it to the Location field.

func (AstronomyXMLResponse) ToMap

func (o AstronomyXMLResponse) ToMap() (map[string]interface{}, error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BulkIPGeolocation

type BulkIPGeolocation struct {
	ErrorResponse       *ErrorResponse
	GeolocationResponse *GeolocationResponse
}

BulkIPGeolocation represents a single response in a bulk IP geolocation request. It can either be a GeolocationResponse (success) or an ErrorResponse (failure).

func ErrorResponseAsBulkIPGeolocation

func ErrorResponseAsBulkIPGeolocation(v *ErrorResponse) BulkIPGeolocation

ErrorResponseAsBulkIPGeolocation creates a BulkIPGeolocation with an error

func GeolocationResponseAsBulkIPGeolocation

func GeolocationResponseAsBulkIPGeolocation(v *GeolocationResponse) BulkIPGeolocation

GeolocationResponseAsBulkIPGeolocation creates a BulkIPGeolocation with a successful result

func (*BulkIPGeolocation) AsResult

AsResult returns the two possible inner structs

func (*BulkIPGeolocation) IsError

func (r *BulkIPGeolocation) IsError() bool

IsError returns true if the response is an error

func (*BulkIPGeolocation) IsSuccess

func (r *BulkIPGeolocation) IsSuccess() bool

IsSuccess returns true if the response is a success

func (BulkIPGeolocation) MarshalJSON

func (src BulkIPGeolocation) MarshalJSON() ([]byte, error)

MarshalJSON serializes only the set field

func (*BulkIPGeolocation) UnmarshalJSON

func (dst *BulkIPGeolocation) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals the correct object type from the raw JSON

type BulkIpSecurity

type BulkIpSecurity struct {
	Error            *ErrorResponse
	SecurityResponse *SecurityAPIResponse
}

func WrapError

func WrapError(err *ErrorResponse) BulkIpSecurity

Helper to wrap Error

func WrapSecurity

func WrapSecurity(sec *SecurityAPIResponse) BulkIpSecurity

Helper to wrap Success

func (*BulkIpSecurity) AsResult

func (*BulkIpSecurity) IsError

func (b *BulkIpSecurity) IsError() bool

Helpers

func (*BulkIpSecurity) IsSuccess

func (b *BulkIpSecurity) IsSuccess() bool

func (BulkIpSecurity) MarshalJSON

func (b BulkIpSecurity) MarshalJSON() ([]byte, error)

JSON marshal

func (*BulkIpSecurity) UnmarshalJSON

func (b *BulkIpSecurity) UnmarshalJSON(data []byte) error

JSON unmarshal

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CountryMetadata

type CountryMetadata struct {
	CallingCode *string  `json:"calling_code,omitempty"`
	Tld         *string  `json:"tld,omitempty"`
	Languages   []string `json:"languages,omitempty"`
}

CountryMetadata struct for CountryMetadata

func NewCountryMetadata

func NewCountryMetadata() *CountryMetadata

NewCountryMetadata instantiates a new CountryMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCountryMetadataWithDefaults

func NewCountryMetadataWithDefaults() *CountryMetadata

NewCountryMetadataWithDefaults instantiates a new CountryMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CountryMetadata) GetCallingCode

func (o *CountryMetadata) GetCallingCode() string

GetCallingCode returns the CallingCode field value if set, zero value otherwise.

func (*CountryMetadata) GetCallingCodeOk

func (o *CountryMetadata) GetCallingCodeOk() (*string, bool)

GetCallingCodeOk returns a tuple with the CallingCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CountryMetadata) GetLanguages

func (o *CountryMetadata) GetLanguages() []string

GetLanguages returns the Languages field value if set, zero value otherwise.

func (*CountryMetadata) GetLanguagesOk

func (o *CountryMetadata) GetLanguagesOk() ([]string, bool)

GetLanguagesOk returns a tuple with the Languages field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CountryMetadata) GetTld

func (o *CountryMetadata) GetTld() string

GetTld returns the Tld field value if set, zero value otherwise.

func (*CountryMetadata) GetTldOk

func (o *CountryMetadata) GetTldOk() (*string, bool)

GetTldOk returns a tuple with the Tld field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CountryMetadata) HasCallingCode

func (o *CountryMetadata) HasCallingCode() bool

HasCallingCode returns a boolean if a field has been set.

func (*CountryMetadata) HasLanguages

func (o *CountryMetadata) HasLanguages() bool

HasLanguages returns a boolean if a field has been set.

func (*CountryMetadata) HasTld

func (o *CountryMetadata) HasTld() bool

HasTld returns a boolean if a field has been set.

func (CountryMetadata) MarshalJSON

func (o CountryMetadata) MarshalJSON() ([]byte, error)

func (*CountryMetadata) SetCallingCode

func (o *CountryMetadata) SetCallingCode(v string)

SetCallingCode gets a reference to the given string and assigns it to the CallingCode field.

func (*CountryMetadata) SetLanguages

func (o *CountryMetadata) SetLanguages(v []string)

SetLanguages gets a reference to the given []string and assigns it to the Languages field.

func (*CountryMetadata) SetTld

func (o *CountryMetadata) SetTld(v string)

SetTld gets a reference to the given string and assigns it to the Tld field.

func (CountryMetadata) ToMap

func (o CountryMetadata) ToMap() (map[string]interface{}, error)

type Currency

type Currency struct {
	Code   *string `json:"code,omitempty"`
	Name   *string `json:"name,omitempty"`
	Symbol *string `json:"symbol,omitempty"`
}

Currency struct for Currency

func NewCurrency

func NewCurrency() *Currency

NewCurrency instantiates a new Currency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCurrencyWithDefaults

func NewCurrencyWithDefaults() *Currency

NewCurrencyWithDefaults instantiates a new Currency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Currency) GetCode

func (o *Currency) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Currency) GetCodeOk

func (o *Currency) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Currency) GetName

func (o *Currency) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Currency) GetNameOk

func (o *Currency) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Currency) GetSymbol

func (o *Currency) GetSymbol() string

GetSymbol returns the Symbol field value if set, zero value otherwise.

func (*Currency) GetSymbolOk

func (o *Currency) GetSymbolOk() (*string, bool)

GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Currency) HasCode

func (o *Currency) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Currency) HasName

func (o *Currency) HasName() bool

HasName returns a boolean if a field has been set.

func (*Currency) HasSymbol

func (o *Currency) HasSymbol() bool

HasSymbol returns a boolean if a field has been set.

func (Currency) MarshalJSON

func (o Currency) MarshalJSON() ([]byte, error)

func (*Currency) SetCode

func (o *Currency) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Currency) SetName

func (o *Currency) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Currency) SetSymbol

func (o *Currency) SetSymbol(v string)

SetSymbol gets a reference to the given string and assigns it to the Symbol field.

func (Currency) ToMap

func (o Currency) ToMap() (map[string]interface{}, error)

type ErrorResponse

type ErrorResponse struct {
	Message *string `json:"message,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorResponse) GetMessage

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorResponse) GetMessageOk

func (o *ErrorResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorResponse) HasMessage

func (o *ErrorResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

func (o ErrorResponse) MarshalJSON() ([]byte, error)

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorResponse) ToMap

func (o ErrorResponse) ToMap() (map[string]interface{}, error)

type ErrorXMLResponse

type ErrorXMLResponse struct {
	Message *string `json:"message,omitempty"`
}

ErrorXMLResponse struct for ErrorXMLResponse

func NewErrorXMLResponse

func NewErrorXMLResponse() *ErrorXMLResponse

NewErrorXMLResponse instantiates a new ErrorXMLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorXMLResponseWithDefaults

func NewErrorXMLResponseWithDefaults() *ErrorXMLResponse

NewErrorXMLResponseWithDefaults instantiates a new ErrorXMLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorXMLResponse) GetMessage

func (o *ErrorXMLResponse) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorXMLResponse) GetMessageOk

func (o *ErrorXMLResponse) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorXMLResponse) HasMessage

func (o *ErrorXMLResponse) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorXMLResponse) MarshalJSON

func (o ErrorXMLResponse) MarshalJSON() ([]byte, error)

func (*ErrorXMLResponse) SetMessage

func (o *ErrorXMLResponse) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorXMLResponse) ToMap

func (o ErrorXMLResponse) ToMap() (map[string]interface{}, error)

type ErrorXMLResponseArray

type ErrorXMLResponseArray struct {
	Message *string `json:"message,omitempty"`
}

ErrorXMLResponseArray struct for ErrorXMLResponseArray

func NewErrorXMLResponseArray

func NewErrorXMLResponseArray() *ErrorXMLResponseArray

NewErrorXMLResponseArray instantiates a new ErrorXMLResponseArray object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorXMLResponseArrayWithDefaults

func NewErrorXMLResponseArrayWithDefaults() *ErrorXMLResponseArray

NewErrorXMLResponseArrayWithDefaults instantiates a new ErrorXMLResponseArray object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorXMLResponseArray) GetMessage

func (o *ErrorXMLResponseArray) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ErrorXMLResponseArray) GetMessageOk

func (o *ErrorXMLResponseArray) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorXMLResponseArray) HasMessage

func (o *ErrorXMLResponseArray) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorXMLResponseArray) MarshalJSON

func (o ErrorXMLResponseArray) MarshalJSON() ([]byte, error)

func (*ErrorXMLResponseArray) SetMessage

func (o *ErrorXMLResponseArray) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (ErrorXMLResponseArray) ToMap

func (o ErrorXMLResponseArray) ToMap() (map[string]interface{}, error)

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GeolocationResponse

type GeolocationResponse struct {
	Ip              *string          `json:"ip,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Domain          *string          `json:"domain,omitempty"`
	Location        *Location        `json:"location,omitempty"`
	CountryMetadata *CountryMetadata `json:"country_metadata,omitempty"`
	Network         *Network         `json:"network,omitempty"`
	Currency        *Currency        `json:"currency,omitempty"`
	Security        *Security        `json:"security,omitempty"`
	Abuse           *Abuse           `json:"abuse,omitempty"`
	TimeZone        *TimeZone        `json:"time_zone,omitempty"`
	UserAgent       *UserAgentData   `json:"user_agent,omitempty"`
}

GeolocationResponse struct for GeolocationResponse

func NewGeolocationResponse

func NewGeolocationResponse() *GeolocationResponse

NewGeolocationResponse instantiates a new GeolocationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGeolocationResponseWithDefaults

func NewGeolocationResponseWithDefaults() *GeolocationResponse

NewGeolocationResponseWithDefaults instantiates a new GeolocationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GeolocationResponse) GetAbuse

func (o *GeolocationResponse) GetAbuse() Abuse

GetAbuse returns the Abuse field value if set, zero value otherwise.

func (*GeolocationResponse) GetAbuseOk

func (o *GeolocationResponse) GetAbuseOk() (*Abuse, bool)

GetAbuseOk returns a tuple with the Abuse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetCountryMetadata

func (o *GeolocationResponse) GetCountryMetadata() CountryMetadata

GetCountryMetadata returns the CountryMetadata field value if set, zero value otherwise.

func (*GeolocationResponse) GetCountryMetadataOk

func (o *GeolocationResponse) GetCountryMetadataOk() (*CountryMetadata, bool)

GetCountryMetadataOk returns a tuple with the CountryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetCurrency

func (o *GeolocationResponse) GetCurrency() Currency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GeolocationResponse) GetCurrencyOk

func (o *GeolocationResponse) GetCurrencyOk() (*Currency, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetDomain

func (o *GeolocationResponse) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*GeolocationResponse) GetDomainOk

func (o *GeolocationResponse) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetHostname

func (o *GeolocationResponse) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*GeolocationResponse) GetHostnameOk

func (o *GeolocationResponse) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetIp

func (o *GeolocationResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*GeolocationResponse) GetIpOk

func (o *GeolocationResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetLocation

func (o *GeolocationResponse) GetLocation() Location

GetLocation returns the Location field value if set, zero value otherwise.

func (*GeolocationResponse) GetLocationOk

func (o *GeolocationResponse) GetLocationOk() (*Location, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetNetwork

func (o *GeolocationResponse) GetNetwork() Network

GetNetwork returns the Network field value if set, zero value otherwise.

func (*GeolocationResponse) GetNetworkOk

func (o *GeolocationResponse) GetNetworkOk() (*Network, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetSecurity

func (o *GeolocationResponse) GetSecurity() Security

GetSecurity returns the Security field value if set, zero value otherwise.

func (*GeolocationResponse) GetSecurityOk

func (o *GeolocationResponse) GetSecurityOk() (*Security, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetTimeZone

func (o *GeolocationResponse) GetTimeZone() TimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*GeolocationResponse) GetTimeZoneOk

func (o *GeolocationResponse) GetTimeZoneOk() (*TimeZone, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) GetUserAgent

func (o *GeolocationResponse) GetUserAgent() UserAgentData

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*GeolocationResponse) GetUserAgentOk

func (o *GeolocationResponse) GetUserAgentOk() (*UserAgentData, bool)

GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationResponse) HasAbuse

func (o *GeolocationResponse) HasAbuse() bool

HasAbuse returns a boolean if a field has been set.

func (*GeolocationResponse) HasCountryMetadata

func (o *GeolocationResponse) HasCountryMetadata() bool

HasCountryMetadata returns a boolean if a field has been set.

func (*GeolocationResponse) HasCurrency

func (o *GeolocationResponse) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*GeolocationResponse) HasDomain

func (o *GeolocationResponse) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*GeolocationResponse) HasHostname

func (o *GeolocationResponse) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*GeolocationResponse) HasIp

func (o *GeolocationResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*GeolocationResponse) HasLocation

func (o *GeolocationResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*GeolocationResponse) HasNetwork

func (o *GeolocationResponse) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*GeolocationResponse) HasSecurity

func (o *GeolocationResponse) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (*GeolocationResponse) HasTimeZone

func (o *GeolocationResponse) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*GeolocationResponse) HasUserAgent

func (o *GeolocationResponse) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (GeolocationResponse) MarshalJSON

func (o GeolocationResponse) MarshalJSON() ([]byte, error)

func (*GeolocationResponse) SetAbuse

func (o *GeolocationResponse) SetAbuse(v Abuse)

SetAbuse gets a reference to the given Abuse and assigns it to the Abuse field.

func (*GeolocationResponse) SetCountryMetadata

func (o *GeolocationResponse) SetCountryMetadata(v CountryMetadata)

SetCountryMetadata gets a reference to the given CountryMetadata and assigns it to the CountryMetadata field.

func (*GeolocationResponse) SetCurrency

func (o *GeolocationResponse) SetCurrency(v Currency)

SetCurrency gets a reference to the given Currency and assigns it to the Currency field.

func (*GeolocationResponse) SetDomain

func (o *GeolocationResponse) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*GeolocationResponse) SetHostname

func (o *GeolocationResponse) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*GeolocationResponse) SetIp

func (o *GeolocationResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*GeolocationResponse) SetLocation

func (o *GeolocationResponse) SetLocation(v Location)

SetLocation gets a reference to the given Location and assigns it to the Location field.

func (*GeolocationResponse) SetNetwork

func (o *GeolocationResponse) SetNetwork(v Network)

SetNetwork gets a reference to the given Network and assigns it to the Network field.

func (*GeolocationResponse) SetSecurity

func (o *GeolocationResponse) SetSecurity(v Security)

SetSecurity gets a reference to the given Security and assigns it to the Security field.

func (*GeolocationResponse) SetTimeZone

func (o *GeolocationResponse) SetTimeZone(v TimeZone)

SetTimeZone gets a reference to the given TimeZone and assigns it to the TimeZone field.

func (*GeolocationResponse) SetUserAgent

func (o *GeolocationResponse) SetUserAgent(v UserAgentData)

SetUserAgent gets a reference to the given UserAgentData and assigns it to the UserAgent field.

func (GeolocationResponse) ToMap

func (o GeolocationResponse) ToMap() (map[string]interface{}, error)

type GeolocationXMLResponse

type GeolocationXMLResponse struct {
	Ip              *string          `json:"ip,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Domain          *string          `json:"domain,omitempty"`
	Location        *Location        `json:"location,omitempty"`
	CountryMetadata *CountryMetadata `json:"country_metadata,omitempty"`
	Network         *Network         `json:"network,omitempty"`
	Currency        *Currency        `json:"currency,omitempty"`
	Security        *Security        `json:"security,omitempty"`
	Abuse           *Abuse           `json:"abuse,omitempty"`
	TimeZone        *TimeZone        `json:"time_zone,omitempty"`
	UserAgent       *UserAgentData   `json:"user_agent,omitempty"`
}

GeolocationXMLResponse struct for GeolocationXMLResponse

func NewGeolocationXMLResponse

func NewGeolocationXMLResponse() *GeolocationXMLResponse

NewGeolocationXMLResponse instantiates a new GeolocationXMLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGeolocationXMLResponseWithDefaults

func NewGeolocationXMLResponseWithDefaults() *GeolocationXMLResponse

NewGeolocationXMLResponseWithDefaults instantiates a new GeolocationXMLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GeolocationXMLResponse) GetAbuse

func (o *GeolocationXMLResponse) GetAbuse() Abuse

GetAbuse returns the Abuse field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetAbuseOk

func (o *GeolocationXMLResponse) GetAbuseOk() (*Abuse, bool)

GetAbuseOk returns a tuple with the Abuse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetCountryMetadata

func (o *GeolocationXMLResponse) GetCountryMetadata() CountryMetadata

GetCountryMetadata returns the CountryMetadata field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetCountryMetadataOk

func (o *GeolocationXMLResponse) GetCountryMetadataOk() (*CountryMetadata, bool)

GetCountryMetadataOk returns a tuple with the CountryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetCurrency

func (o *GeolocationXMLResponse) GetCurrency() Currency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetCurrencyOk

func (o *GeolocationXMLResponse) GetCurrencyOk() (*Currency, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetDomain

func (o *GeolocationXMLResponse) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetDomainOk

func (o *GeolocationXMLResponse) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetHostname

func (o *GeolocationXMLResponse) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetHostnameOk

func (o *GeolocationXMLResponse) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetIp

func (o *GeolocationXMLResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetIpOk

func (o *GeolocationXMLResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetLocation

func (o *GeolocationXMLResponse) GetLocation() Location

GetLocation returns the Location field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetLocationOk

func (o *GeolocationXMLResponse) GetLocationOk() (*Location, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetNetwork

func (o *GeolocationXMLResponse) GetNetwork() Network

GetNetwork returns the Network field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetNetworkOk

func (o *GeolocationXMLResponse) GetNetworkOk() (*Network, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetSecurity

func (o *GeolocationXMLResponse) GetSecurity() Security

GetSecurity returns the Security field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetSecurityOk

func (o *GeolocationXMLResponse) GetSecurityOk() (*Security, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetTimeZone

func (o *GeolocationXMLResponse) GetTimeZone() TimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetTimeZoneOk

func (o *GeolocationXMLResponse) GetTimeZoneOk() (*TimeZone, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) GetUserAgent

func (o *GeolocationXMLResponse) GetUserAgent() UserAgentData

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*GeolocationXMLResponse) GetUserAgentOk

func (o *GeolocationXMLResponse) GetUserAgentOk() (*UserAgentData, bool)

GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponse) HasAbuse

func (o *GeolocationXMLResponse) HasAbuse() bool

HasAbuse returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasCountryMetadata

func (o *GeolocationXMLResponse) HasCountryMetadata() bool

HasCountryMetadata returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasCurrency

func (o *GeolocationXMLResponse) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasDomain

func (o *GeolocationXMLResponse) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasHostname

func (o *GeolocationXMLResponse) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasIp

func (o *GeolocationXMLResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasLocation

func (o *GeolocationXMLResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasNetwork

func (o *GeolocationXMLResponse) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasSecurity

func (o *GeolocationXMLResponse) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasTimeZone

func (o *GeolocationXMLResponse) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*GeolocationXMLResponse) HasUserAgent

func (o *GeolocationXMLResponse) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (GeolocationXMLResponse) MarshalJSON

func (o GeolocationXMLResponse) MarshalJSON() ([]byte, error)

func (*GeolocationXMLResponse) SetAbuse

func (o *GeolocationXMLResponse) SetAbuse(v Abuse)

SetAbuse gets a reference to the given Abuse and assigns it to the Abuse field.

func (*GeolocationXMLResponse) SetCountryMetadata

func (o *GeolocationXMLResponse) SetCountryMetadata(v CountryMetadata)

SetCountryMetadata gets a reference to the given CountryMetadata and assigns it to the CountryMetadata field.

func (*GeolocationXMLResponse) SetCurrency

func (o *GeolocationXMLResponse) SetCurrency(v Currency)

SetCurrency gets a reference to the given Currency and assigns it to the Currency field.

func (*GeolocationXMLResponse) SetDomain

func (o *GeolocationXMLResponse) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*GeolocationXMLResponse) SetHostname

func (o *GeolocationXMLResponse) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*GeolocationXMLResponse) SetIp

func (o *GeolocationXMLResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*GeolocationXMLResponse) SetLocation

func (o *GeolocationXMLResponse) SetLocation(v Location)

SetLocation gets a reference to the given Location and assigns it to the Location field.

func (*GeolocationXMLResponse) SetNetwork

func (o *GeolocationXMLResponse) SetNetwork(v Network)

SetNetwork gets a reference to the given Network and assigns it to the Network field.

func (*GeolocationXMLResponse) SetSecurity

func (o *GeolocationXMLResponse) SetSecurity(v Security)

SetSecurity gets a reference to the given Security and assigns it to the Security field.

func (*GeolocationXMLResponse) SetTimeZone

func (o *GeolocationXMLResponse) SetTimeZone(v TimeZone)

SetTimeZone gets a reference to the given TimeZone and assigns it to the TimeZone field.

func (*GeolocationXMLResponse) SetUserAgent

func (o *GeolocationXMLResponse) SetUserAgent(v UserAgentData)

SetUserAgent gets a reference to the given UserAgentData and assigns it to the UserAgent field.

func (GeolocationXMLResponse) ToMap

func (o GeolocationXMLResponse) ToMap() (map[string]interface{}, error)

type GeolocationXMLResponseArray

type GeolocationXMLResponseArray struct {
	Ip              *string          `json:"ip,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Domain          *string          `json:"domain,omitempty"`
	Location        *Location        `json:"location,omitempty"`
	CountryMetadata *CountryMetadata `json:"country_metadata,omitempty"`
	Network         *Network         `json:"network,omitempty"`
	Currency        *Currency        `json:"currency,omitempty"`
	Security        *Security        `json:"security,omitempty"`
	Abuse           *Abuse           `json:"abuse,omitempty"`
	TimeZone        *TimeZone        `json:"time_zone,omitempty"`
	UserAgent       *UserAgentData   `json:"user_agent,omitempty"`
}

GeolocationXMLResponseArray struct for GeolocationXMLResponseArray

func NewGeolocationXMLResponseArray

func NewGeolocationXMLResponseArray() *GeolocationXMLResponseArray

NewGeolocationXMLResponseArray instantiates a new GeolocationXMLResponseArray object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGeolocationXMLResponseArrayWithDefaults

func NewGeolocationXMLResponseArrayWithDefaults() *GeolocationXMLResponseArray

NewGeolocationXMLResponseArrayWithDefaults instantiates a new GeolocationXMLResponseArray object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GeolocationXMLResponseArray) GetAbuse

func (o *GeolocationXMLResponseArray) GetAbuse() Abuse

GetAbuse returns the Abuse field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetAbuseOk

func (o *GeolocationXMLResponseArray) GetAbuseOk() (*Abuse, bool)

GetAbuseOk returns a tuple with the Abuse field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetCountryMetadata

func (o *GeolocationXMLResponseArray) GetCountryMetadata() CountryMetadata

GetCountryMetadata returns the CountryMetadata field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetCountryMetadataOk

func (o *GeolocationXMLResponseArray) GetCountryMetadataOk() (*CountryMetadata, bool)

GetCountryMetadataOk returns a tuple with the CountryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetCurrency

func (o *GeolocationXMLResponseArray) GetCurrency() Currency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetCurrencyOk

func (o *GeolocationXMLResponseArray) GetCurrencyOk() (*Currency, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetDomain

func (o *GeolocationXMLResponseArray) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetDomainOk

func (o *GeolocationXMLResponseArray) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetHostname

func (o *GeolocationXMLResponseArray) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetHostnameOk

func (o *GeolocationXMLResponseArray) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetIp

GetIp returns the Ip field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetIpOk

func (o *GeolocationXMLResponseArray) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetLocation

func (o *GeolocationXMLResponseArray) GetLocation() Location

GetLocation returns the Location field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetLocationOk

func (o *GeolocationXMLResponseArray) GetLocationOk() (*Location, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetNetwork

func (o *GeolocationXMLResponseArray) GetNetwork() Network

GetNetwork returns the Network field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetNetworkOk

func (o *GeolocationXMLResponseArray) GetNetworkOk() (*Network, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetSecurity

func (o *GeolocationXMLResponseArray) GetSecurity() Security

GetSecurity returns the Security field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetSecurityOk

func (o *GeolocationXMLResponseArray) GetSecurityOk() (*Security, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetTimeZone

func (o *GeolocationXMLResponseArray) GetTimeZone() TimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetTimeZoneOk

func (o *GeolocationXMLResponseArray) GetTimeZoneOk() (*TimeZone, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) GetUserAgent

func (o *GeolocationXMLResponseArray) GetUserAgent() UserAgentData

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*GeolocationXMLResponseArray) GetUserAgentOk

func (o *GeolocationXMLResponseArray) GetUserAgentOk() (*UserAgentData, bool)

GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GeolocationXMLResponseArray) HasAbuse

func (o *GeolocationXMLResponseArray) HasAbuse() bool

HasAbuse returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasCountryMetadata

func (o *GeolocationXMLResponseArray) HasCountryMetadata() bool

HasCountryMetadata returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasCurrency

func (o *GeolocationXMLResponseArray) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasDomain

func (o *GeolocationXMLResponseArray) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasHostname

func (o *GeolocationXMLResponseArray) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasIp

func (o *GeolocationXMLResponseArray) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasLocation

func (o *GeolocationXMLResponseArray) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasNetwork

func (o *GeolocationXMLResponseArray) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasSecurity

func (o *GeolocationXMLResponseArray) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasTimeZone

func (o *GeolocationXMLResponseArray) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*GeolocationXMLResponseArray) HasUserAgent

func (o *GeolocationXMLResponseArray) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (GeolocationXMLResponseArray) MarshalJSON

func (o GeolocationXMLResponseArray) MarshalJSON() ([]byte, error)

func (*GeolocationXMLResponseArray) SetAbuse

func (o *GeolocationXMLResponseArray) SetAbuse(v Abuse)

SetAbuse gets a reference to the given Abuse and assigns it to the Abuse field.

func (*GeolocationXMLResponseArray) SetCountryMetadata

func (o *GeolocationXMLResponseArray) SetCountryMetadata(v CountryMetadata)

SetCountryMetadata gets a reference to the given CountryMetadata and assigns it to the CountryMetadata field.

func (*GeolocationXMLResponseArray) SetCurrency

func (o *GeolocationXMLResponseArray) SetCurrency(v Currency)

SetCurrency gets a reference to the given Currency and assigns it to the Currency field.

func (*GeolocationXMLResponseArray) SetDomain

func (o *GeolocationXMLResponseArray) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*GeolocationXMLResponseArray) SetHostname

func (o *GeolocationXMLResponseArray) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*GeolocationXMLResponseArray) SetIp

func (o *GeolocationXMLResponseArray) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*GeolocationXMLResponseArray) SetLocation

func (o *GeolocationXMLResponseArray) SetLocation(v Location)

SetLocation gets a reference to the given Location and assigns it to the Location field.

func (*GeolocationXMLResponseArray) SetNetwork

func (o *GeolocationXMLResponseArray) SetNetwork(v Network)

SetNetwork gets a reference to the given Network and assigns it to the Network field.

func (*GeolocationXMLResponseArray) SetSecurity

func (o *GeolocationXMLResponseArray) SetSecurity(v Security)

SetSecurity gets a reference to the given Security and assigns it to the Security field.

func (*GeolocationXMLResponseArray) SetTimeZone

func (o *GeolocationXMLResponseArray) SetTimeZone(v TimeZone)

SetTimeZone gets a reference to the given TimeZone and assigns it to the TimeZone field.

func (*GeolocationXMLResponseArray) SetUserAgent

func (o *GeolocationXMLResponseArray) SetUserAgent(v UserAgentData)

SetUserAgent gets a reference to the given UserAgentData and assigns it to the UserAgent field.

func (GeolocationXMLResponseArray) ToMap

func (o GeolocationXMLResponseArray) ToMap() (map[string]interface{}, error)

type GetBulkIpGeolocation200ResponseInner1

type GetBulkIpGeolocation200ResponseInner1 struct {
	ErrorXMLResponseArray       *ErrorXMLResponseArray
	GeolocationXMLResponseArray *GeolocationXMLResponseArray
}

GetBulkIpGeolocation200ResponseInner1 - struct for GetBulkIpGeolocation200ResponseInner1

func ErrorXMLResponseArrayAsGetBulkIpGeolocation200ResponseInner1

func ErrorXMLResponseArrayAsGetBulkIpGeolocation200ResponseInner1(v *ErrorXMLResponseArray) GetBulkIpGeolocation200ResponseInner1

ErrorXMLResponseArrayAsGetBulkIpGeolocation200ResponseInner1 is a convenience function that returns ErrorXMLResponseArray wrapped in GetBulkIpGeolocation200ResponseInner1

func GeolocationXMLResponseArrayAsGetBulkIpGeolocation200ResponseInner1

func GeolocationXMLResponseArrayAsGetBulkIpGeolocation200ResponseInner1(v *GeolocationXMLResponseArray) GetBulkIpGeolocation200ResponseInner1

GeolocationXMLResponseArrayAsGetBulkIpGeolocation200ResponseInner1 is a convenience function that returns GeolocationXMLResponseArray wrapped in GetBulkIpGeolocation200ResponseInner1

func (*GetBulkIpGeolocation200ResponseInner1) GetActualInstance

func (obj *GetBulkIpGeolocation200ResponseInner1) GetActualInstance() interface{}

Get the actual instance

func (GetBulkIpGeolocation200ResponseInner1) GetActualInstanceValue

func (obj GetBulkIpGeolocation200ResponseInner1) GetActualInstanceValue() interface{}

Get the actual instance value

func (GetBulkIpGeolocation200ResponseInner1) MarshalJSON

func (src GetBulkIpGeolocation200ResponseInner1) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*GetBulkIpGeolocation200ResponseInner1) UnmarshalJSON

func (dst *GetBulkIpGeolocation200ResponseInner1) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type GetBulkIpGeolocationRequest

type GetBulkIpGeolocationRequest struct {
	Ips []string `json:"ips,omitempty"`
}

GetBulkIpGeolocationRequest struct for GetBulkIpGeolocationRequest

func NewGetBulkIpGeolocationRequest

func NewGetBulkIpGeolocationRequest() *GetBulkIpGeolocationRequest

NewGetBulkIpGeolocationRequest instantiates a new GetBulkIpGeolocationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGetBulkIpGeolocationRequestWithDefaults

func NewGetBulkIpGeolocationRequestWithDefaults() *GetBulkIpGeolocationRequest

NewGetBulkIpGeolocationRequestWithDefaults instantiates a new GetBulkIpGeolocationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GetBulkIpGeolocationRequest) GetIps

func (o *GetBulkIpGeolocationRequest) GetIps() []string

GetIps returns the Ips field value if set, zero value otherwise.

func (*GetBulkIpGeolocationRequest) GetIpsOk

func (o *GetBulkIpGeolocationRequest) GetIpsOk() ([]string, bool)

GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetBulkIpGeolocationRequest) HasIps

func (o *GetBulkIpGeolocationRequest) HasIps() bool

HasIps returns a boolean if a field has been set.

func (GetBulkIpGeolocationRequest) MarshalJSON

func (o GetBulkIpGeolocationRequest) MarshalJSON() ([]byte, error)

func (*GetBulkIpGeolocationRequest) SetIps

func (o *GetBulkIpGeolocationRequest) SetIps(v []string)

SetIps gets a reference to the given []string and assigns it to the Ips field.

func (GetBulkIpGeolocationRequest) ToMap

func (o GetBulkIpGeolocationRequest) ToMap() (map[string]interface{}, error)

type GetBulkIpSecurityInfo200ResponseInner1

type GetBulkIpSecurityInfo200ResponseInner1 struct {
	ErrorXMLResponseArray       *ErrorXMLResponseArray
	SecurityAPIXMLResponseArray *SecurityAPIXMLResponseArray
}

GetBulkIpSecurityInfo200ResponseInner1 - struct for GetBulkIpSecurityInfo200ResponseInner1

func ErrorXMLResponseArrayAsGetBulkIpSecurityInfo200ResponseInner1

func ErrorXMLResponseArrayAsGetBulkIpSecurityInfo200ResponseInner1(v *ErrorXMLResponseArray) GetBulkIpSecurityInfo200ResponseInner1

ErrorXMLResponseArrayAsGetBulkIpSecurityInfo200ResponseInner1 is a convenience function that returns ErrorXMLResponseArray wrapped in GetBulkIpSecurityInfo200ResponseInner1

func SecurityAPIXMLResponseArrayAsGetBulkIpSecurityInfo200ResponseInner1

func SecurityAPIXMLResponseArrayAsGetBulkIpSecurityInfo200ResponseInner1(v *SecurityAPIXMLResponseArray) GetBulkIpSecurityInfo200ResponseInner1

SecurityAPIXMLResponseArrayAsGetBulkIpSecurityInfo200ResponseInner1 is a convenience function that returns SecurityAPIXMLResponseArray wrapped in GetBulkIpSecurityInfo200ResponseInner1

func (*GetBulkIpSecurityInfo200ResponseInner1) GetActualInstance

func (obj *GetBulkIpSecurityInfo200ResponseInner1) GetActualInstance() interface{}

Get the actual instance

func (GetBulkIpSecurityInfo200ResponseInner1) GetActualInstanceValue

func (obj GetBulkIpSecurityInfo200ResponseInner1) GetActualInstanceValue() interface{}

Get the actual instance value

func (GetBulkIpSecurityInfo200ResponseInner1) MarshalJSON

func (src GetBulkIpSecurityInfo200ResponseInner1) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*GetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON

func (dst *GetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type IPGeolocationAPI

type IPGeolocationAPI interface {

	/*
		GetBulkIpGeolocation Method for GetBulkIpGeolocation

		This feature is available only on our paid API subscriptions (STANDARD or ADVANCED). This endpoint allows you to perform the geolocation lookup for multiple IPv4, IPv6 addresses or domain names (maximum 50,000) at the same time. The requests count per lookup is equal to total IP addresses or domain names passed. To perform bulk IP Geolocation Lookup, send a POST request and pass the "ips" array as JSON data along with it.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetBulkIpGeolocationRequest
	*/
	GetBulkIpGeolocation(ctx context.Context) ApiGetBulkIpGeolocationRequest

	// GetBulkIpGeolocationExecute executes the request
	//  @return []GetBulkIpGeolocation200ResponseInner
	GetBulkIpGeolocationExecute(r ApiGetBulkIpGeolocationRequest) ([]BulkIPGeolocation, *http.Response, error)

	/*
		GetIpGeolocation Method for GetIpGeolocation

		IP Geolocation API provides real-time and accurate geolocation, network, abuse, and security information for any IPv4 or IPv6 address and domain name along with the user-agent detail for the provided user-agent string. You can geolocate your online visitors and provide them the customized user-experience accordingly.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetIpGeolocationRequest
	*/
	GetIpGeolocation(ctx context.Context) ApiGetIpGeolocationRequest

	// GetIpGeolocationExecute executes the request
	//  @return GeolocationResponse
	GetIpGeolocationExecute(r ApiGetIpGeolocationRequest) (*GeolocationResponse, *http.Response, error)
}

type IPLocationAPIService

type IPLocationAPIService service

IPLocationAPIService IPLocationAPI service

func (*IPLocationAPIService) GetBulkIpGeolocation

GetBulkIpGeolocation Method for GetBulkIpGeolocation

This feature is available only on our paid API subscriptions (STANDARD or ADVANCED). This endpoint allows you to perform the geolocation lookup for multiple IPv4, IPv6 addresses or domain names (maximum 50,000) at the same time. The requests count per lookup is equal to total IP addresses or domain names passed. To perform bulk IP Geolocation Lookup, send a POST request and pass the "ips" array as JSON data along with it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBulkIpGeolocationRequest

func (*IPLocationAPIService) GetBulkIpGeolocationExecute

Execute executes the request

@return []GetBulkIpGeolocation200ResponseInner

func (*IPLocationAPIService) GetIpGeolocation

GetIpGeolocation Method for GetIpGeolocation

IP Geolocation API provides real-time and accurate geolocation, network, abuse, and security information for any IPv4 or IPv6 address and domain name along with the user-agent detail for the provided user-agent string. You can geolocate your online visitors and provide them the customized user-experience accordingly.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetIpGeolocationRequest

func (*IPLocationAPIService) GetIpGeolocationExecute

Execute executes the request

@return GeolocationResponse

type IPSecurityAPI

type IPSecurityAPI interface {

	/*
		GetBulkIpSecurityInfo Method for GetBulkIpSecurityInfo

		The Bulk IP Security Lookup API can provide security details for up to `50,000` bulk IPs. This API also has parameters to customize the response, just like the single IP Security Lookup API.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetBulkIpSecurityInfoRequest
	*/
	GetBulkIpSecurityInfo(ctx context.Context) ApiGetBulkIpSecurityInfoRequest

	// GetBulkIpSecurityInfoExecute executes the request
	//  @return []GetBulkIpSecurityInfo200ResponseInner
	GetBulkIpSecurityInfoExecute(r ApiGetBulkIpSecurityInfoRequest) ([]BulkIpSecurity, *http.Response, error)

	/*
		GetIpSecurityInfo Method for GetIpSecurityInfo

		IP Security API provides security details of a given IP. It detects whether the IP is proxy, tor or bot. It also shows the proxy types of the IP (like VPN, PROXY, RELAY etc.) with it's VPN/proxy service provider making our API powerful VPN checker. It finds the IPs that are involved in spam activities. It also checks whether the IP links to a cloud provider and includes the provider's name.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetIpSecurityInfoRequest
	*/
	GetIpSecurityInfo(ctx context.Context) ApiGetIpSecurityInfoRequest

	// GetIpSecurityInfoExecute executes the request
	//  @return SecurityAPIResponse
	GetIpSecurityInfoExecute(r ApiGetIpSecurityInfoRequest) (*SecurityAPIResponse, *http.Response, error)
}

type Location

type Location struct {
	ContinentCode       *string `json:"continent_code,omitempty"`
	ContinentName       *string `json:"continent_name,omitempty"`
	CountryCode2        *string `json:"country_code2,omitempty"`
	CountryCode3        *string `json:"country_code3,omitempty"`
	CountryName         *string `json:"country_name,omitempty"`
	CountryNameOfficial *string `json:"country_name_official,omitempty"`
	CountryCapital      *string `json:"country_capital,omitempty"`
	StateProv           *string `json:"state_prov,omitempty"`
	StateCode           *string `json:"state_code,omitempty"`
	District            *string `json:"district,omitempty"`
	City                *string `json:"city,omitempty"`
	Zipcode             *string `json:"zipcode,omitempty"`
	Latitude            *string `json:"latitude,omitempty"`
	Longitude           *string `json:"longitude,omitempty"`
	IsEu                *bool   `json:"is_eu,omitempty"`
	CountryFlag         *string `json:"country_flag,omitempty"`
	GeonameId           *string `json:"geoname_id,omitempty"`
	CountryEmoji        *string `json:"country_emoji,omitempty"`
	AccuracyRadius      *string `json:"accuracy_radius,omitempty"`
	Locality            *string `json:"locality,omitempty"`
	DmaCode             *string `json:"dma_code,omitempty"`
}

Location struct for Location

func NewLocation

func NewLocation() *Location

NewLocation instantiates a new Location object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLocationWithDefaults

func NewLocationWithDefaults() *Location

NewLocationWithDefaults instantiates a new Location object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Location) GetAccuracyRadius

func (o *Location) GetAccuracyRadius() string

GetAccuracyRadius returns the AccuracyRadius field value if set, zero value otherwise.

func (*Location) GetAccuracyRadiusOk

func (o *Location) GetAccuracyRadiusOk() (*string, bool)

GetAccuracyRadiusOk returns a tuple with the AccuracyRadius field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCity

func (o *Location) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*Location) GetCityOk

func (o *Location) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetContinentCode

func (o *Location) GetContinentCode() string

GetContinentCode returns the ContinentCode field value if set, zero value otherwise.

func (*Location) GetContinentCodeOk

func (o *Location) GetContinentCodeOk() (*string, bool)

GetContinentCodeOk returns a tuple with the ContinentCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetContinentName

func (o *Location) GetContinentName() string

GetContinentName returns the ContinentName field value if set, zero value otherwise.

func (*Location) GetContinentNameOk

func (o *Location) GetContinentNameOk() (*string, bool)

GetContinentNameOk returns a tuple with the ContinentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryCapital

func (o *Location) GetCountryCapital() string

GetCountryCapital returns the CountryCapital field value if set, zero value otherwise.

func (*Location) GetCountryCapitalOk

func (o *Location) GetCountryCapitalOk() (*string, bool)

GetCountryCapitalOk returns a tuple with the CountryCapital field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryCode2

func (o *Location) GetCountryCode2() string

GetCountryCode2 returns the CountryCode2 field value if set, zero value otherwise.

func (*Location) GetCountryCode2Ok

func (o *Location) GetCountryCode2Ok() (*string, bool)

GetCountryCode2Ok returns a tuple with the CountryCode2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryCode3

func (o *Location) GetCountryCode3() string

GetCountryCode3 returns the CountryCode3 field value if set, zero value otherwise.

func (*Location) GetCountryCode3Ok

func (o *Location) GetCountryCode3Ok() (*string, bool)

GetCountryCode3Ok returns a tuple with the CountryCode3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryEmoji

func (o *Location) GetCountryEmoji() string

GetCountryEmoji returns the CountryEmoji field value if set, zero value otherwise.

func (*Location) GetCountryEmojiOk

func (o *Location) GetCountryEmojiOk() (*string, bool)

GetCountryEmojiOk returns a tuple with the CountryEmoji field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryFlag

func (o *Location) GetCountryFlag() string

GetCountryFlag returns the CountryFlag field value if set, zero value otherwise.

func (*Location) GetCountryFlagOk

func (o *Location) GetCountryFlagOk() (*string, bool)

GetCountryFlagOk returns a tuple with the CountryFlag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryName

func (o *Location) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*Location) GetCountryNameOfficial

func (o *Location) GetCountryNameOfficial() string

GetCountryNameOfficial returns the CountryNameOfficial field value if set, zero value otherwise.

func (*Location) GetCountryNameOfficialOk

func (o *Location) GetCountryNameOfficialOk() (*string, bool)

GetCountryNameOfficialOk returns a tuple with the CountryNameOfficial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetCountryNameOk

func (o *Location) GetCountryNameOk() (*string, bool)

GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetDistrict

func (o *Location) GetDistrict() string

GetDistrict returns the District field value if set, zero value otherwise.

func (*Location) GetDistrictOk

func (o *Location) GetDistrictOk() (*string, bool)

GetDistrictOk returns a tuple with the District field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetDmaCode

func (o *Location) GetDmaCode() string

GetDmaCode returns the DmaCode field value if set, zero value otherwise.

func (*Location) GetDmaCodeOk

func (o *Location) GetDmaCodeOk() (*string, bool)

GetDmaCodeOk returns a tuple with the DmaCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetGeonameId

func (o *Location) GetGeonameId() string

GetGeonameId returns the GeonameId field value if set, zero value otherwise.

func (*Location) GetGeonameIdOk

func (o *Location) GetGeonameIdOk() (*string, bool)

GetGeonameIdOk returns a tuple with the GeonameId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetIsEu

func (o *Location) GetIsEu() bool

GetIsEu returns the IsEu field value if set, zero value otherwise.

func (*Location) GetIsEuOk

func (o *Location) GetIsEuOk() (*bool, bool)

GetIsEuOk returns a tuple with the IsEu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetLatitude

func (o *Location) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*Location) GetLatitudeOk

func (o *Location) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetLocality

func (o *Location) GetLocality() string

GetLocality returns the Locality field value if set, zero value otherwise.

func (*Location) GetLocalityOk

func (o *Location) GetLocalityOk() (*string, bool)

GetLocalityOk returns a tuple with the Locality field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetLongitude

func (o *Location) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*Location) GetLongitudeOk

func (o *Location) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetStateCode

func (o *Location) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise.

func (*Location) GetStateCodeOk

func (o *Location) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetStateProv

func (o *Location) GetStateProv() string

GetStateProv returns the StateProv field value if set, zero value otherwise.

func (*Location) GetStateProvOk

func (o *Location) GetStateProvOk() (*string, bool)

GetStateProvOk returns a tuple with the StateProv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) GetZipcode

func (o *Location) GetZipcode() string

GetZipcode returns the Zipcode field value if set, zero value otherwise.

func (*Location) GetZipcodeOk

func (o *Location) GetZipcodeOk() (*string, bool)

GetZipcodeOk returns a tuple with the Zipcode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Location) HasAccuracyRadius

func (o *Location) HasAccuracyRadius() bool

HasAccuracyRadius returns a boolean if a field has been set.

func (*Location) HasCity

func (o *Location) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*Location) HasContinentCode

func (o *Location) HasContinentCode() bool

HasContinentCode returns a boolean if a field has been set.

func (*Location) HasContinentName

func (o *Location) HasContinentName() bool

HasContinentName returns a boolean if a field has been set.

func (*Location) HasCountryCapital

func (o *Location) HasCountryCapital() bool

HasCountryCapital returns a boolean if a field has been set.

func (*Location) HasCountryCode2

func (o *Location) HasCountryCode2() bool

HasCountryCode2 returns a boolean if a field has been set.

func (*Location) HasCountryCode3

func (o *Location) HasCountryCode3() bool

HasCountryCode3 returns a boolean if a field has been set.

func (*Location) HasCountryEmoji

func (o *Location) HasCountryEmoji() bool

HasCountryEmoji returns a boolean if a field has been set.

func (*Location) HasCountryFlag

func (o *Location) HasCountryFlag() bool

HasCountryFlag returns a boolean if a field has been set.

func (*Location) HasCountryName

func (o *Location) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*Location) HasCountryNameOfficial

func (o *Location) HasCountryNameOfficial() bool

HasCountryNameOfficial returns a boolean if a field has been set.

func (*Location) HasDistrict

func (o *Location) HasDistrict() bool

HasDistrict returns a boolean if a field has been set.

func (*Location) HasDmaCode

func (o *Location) HasDmaCode() bool

HasDmaCode returns a boolean if a field has been set.

func (*Location) HasGeonameId

func (o *Location) HasGeonameId() bool

HasGeonameId returns a boolean if a field has been set.

func (*Location) HasIsEu

func (o *Location) HasIsEu() bool

HasIsEu returns a boolean if a field has been set.

func (*Location) HasLatitude

func (o *Location) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*Location) HasLocality

func (o *Location) HasLocality() bool

HasLocality returns a boolean if a field has been set.

func (*Location) HasLongitude

func (o *Location) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*Location) HasStateCode

func (o *Location) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (*Location) HasStateProv

func (o *Location) HasStateProv() bool

HasStateProv returns a boolean if a field has been set.

func (*Location) HasZipcode

func (o *Location) HasZipcode() bool

HasZipcode returns a boolean if a field has been set.

func (Location) MarshalJSON

func (o Location) MarshalJSON() ([]byte, error)

func (*Location) SetAccuracyRadius

func (o *Location) SetAccuracyRadius(v string)

SetAccuracyRadius gets a reference to the given string and assigns it to the AccuracyRadius field.

func (*Location) SetCity

func (o *Location) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*Location) SetContinentCode

func (o *Location) SetContinentCode(v string)

SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.

func (*Location) SetContinentName

func (o *Location) SetContinentName(v string)

SetContinentName gets a reference to the given string and assigns it to the ContinentName field.

func (*Location) SetCountryCapital

func (o *Location) SetCountryCapital(v string)

SetCountryCapital gets a reference to the given string and assigns it to the CountryCapital field.

func (*Location) SetCountryCode2

func (o *Location) SetCountryCode2(v string)

SetCountryCode2 gets a reference to the given string and assigns it to the CountryCode2 field.

func (*Location) SetCountryCode3

func (o *Location) SetCountryCode3(v string)

SetCountryCode3 gets a reference to the given string and assigns it to the CountryCode3 field.

func (*Location) SetCountryEmoji

func (o *Location) SetCountryEmoji(v string)

SetCountryEmoji gets a reference to the given string and assigns it to the CountryEmoji field.

func (*Location) SetCountryFlag

func (o *Location) SetCountryFlag(v string)

SetCountryFlag gets a reference to the given string and assigns it to the CountryFlag field.

func (*Location) SetCountryName

func (o *Location) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*Location) SetCountryNameOfficial

func (o *Location) SetCountryNameOfficial(v string)

SetCountryNameOfficial gets a reference to the given string and assigns it to the CountryNameOfficial field.

func (*Location) SetDistrict

func (o *Location) SetDistrict(v string)

SetDistrict gets a reference to the given string and assigns it to the District field.

func (*Location) SetDmaCode

func (o *Location) SetDmaCode(v string)

SetDmaCode gets a reference to the given string and assigns it to the DmaCode field.

func (*Location) SetGeonameId

func (o *Location) SetGeonameId(v string)

SetGeonameId gets a reference to the given string and assigns it to the GeonameId field.

func (*Location) SetIsEu

func (o *Location) SetIsEu(v bool)

SetIsEu gets a reference to the given bool and assigns it to the IsEu field.

func (*Location) SetLatitude

func (o *Location) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*Location) SetLocality

func (o *Location) SetLocality(v string)

SetLocality gets a reference to the given string and assigns it to the Locality field.

func (*Location) SetLongitude

func (o *Location) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*Location) SetStateCode

func (o *Location) SetStateCode(v string)

SetStateCode gets a reference to the given string and assigns it to the StateCode field.

func (*Location) SetStateProv

func (o *Location) SetStateProv(v string)

SetStateProv gets a reference to the given string and assigns it to the StateProv field.

func (*Location) SetZipcode

func (o *Location) SetZipcode(v string)

SetZipcode gets a reference to the given string and assigns it to the Zipcode field.

func (Location) ToMap

func (o Location) ToMap() (map[string]interface{}, error)

type LocationMinimal

type LocationMinimal struct {
	ContinentCode       *string `json:"continent_code,omitempty"`
	ContinentName       *string `json:"continent_name,omitempty"`
	CountryCode2        *string `json:"country_code2,omitempty"`
	CountryCode3        *string `json:"country_code3,omitempty"`
	CountryName         *string `json:"country_name,omitempty"`
	CountryNameOfficial *string `json:"country_name_official,omitempty"`
	CountryCapital      *string `json:"country_capital,omitempty"`
	StateProv           *string `json:"state_prov,omitempty"`
	StateCode           *string `json:"state_code,omitempty"`
	District            *string `json:"district,omitempty"`
	City                *string `json:"city,omitempty"`
	Zipcode             *string `json:"zipcode,omitempty"`
	Latitude            *string `json:"latitude,omitempty"`
	Longitude           *string `json:"longitude,omitempty"`
	IsEu                *bool   `json:"is_eu,omitempty"`
	CountryFlag         *string `json:"country_flag,omitempty"`
	GeonameId           *string `json:"geoname_id,omitempty"`
	CountryEmoji        *string `json:"country_emoji,omitempty"`
}

LocationMinimal struct for LocationMinimal

func NewLocationMinimal

func NewLocationMinimal() *LocationMinimal

NewLocationMinimal instantiates a new LocationMinimal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLocationMinimalWithDefaults

func NewLocationMinimalWithDefaults() *LocationMinimal

NewLocationMinimalWithDefaults instantiates a new LocationMinimal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LocationMinimal) GetCity

func (o *LocationMinimal) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*LocationMinimal) GetCityOk

func (o *LocationMinimal) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetContinentCode

func (o *LocationMinimal) GetContinentCode() string

GetContinentCode returns the ContinentCode field value if set, zero value otherwise.

func (*LocationMinimal) GetContinentCodeOk

func (o *LocationMinimal) GetContinentCodeOk() (*string, bool)

GetContinentCodeOk returns a tuple with the ContinentCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetContinentName

func (o *LocationMinimal) GetContinentName() string

GetContinentName returns the ContinentName field value if set, zero value otherwise.

func (*LocationMinimal) GetContinentNameOk

func (o *LocationMinimal) GetContinentNameOk() (*string, bool)

GetContinentNameOk returns a tuple with the ContinentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryCapital

func (o *LocationMinimal) GetCountryCapital() string

GetCountryCapital returns the CountryCapital field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryCapitalOk

func (o *LocationMinimal) GetCountryCapitalOk() (*string, bool)

GetCountryCapitalOk returns a tuple with the CountryCapital field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryCode2

func (o *LocationMinimal) GetCountryCode2() string

GetCountryCode2 returns the CountryCode2 field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryCode2Ok

func (o *LocationMinimal) GetCountryCode2Ok() (*string, bool)

GetCountryCode2Ok returns a tuple with the CountryCode2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryCode3

func (o *LocationMinimal) GetCountryCode3() string

GetCountryCode3 returns the CountryCode3 field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryCode3Ok

func (o *LocationMinimal) GetCountryCode3Ok() (*string, bool)

GetCountryCode3Ok returns a tuple with the CountryCode3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryEmoji

func (o *LocationMinimal) GetCountryEmoji() string

GetCountryEmoji returns the CountryEmoji field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryEmojiOk

func (o *LocationMinimal) GetCountryEmojiOk() (*string, bool)

GetCountryEmojiOk returns a tuple with the CountryEmoji field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryFlag

func (o *LocationMinimal) GetCountryFlag() string

GetCountryFlag returns the CountryFlag field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryFlagOk

func (o *LocationMinimal) GetCountryFlagOk() (*string, bool)

GetCountryFlagOk returns a tuple with the CountryFlag field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryName

func (o *LocationMinimal) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryNameOfficial

func (o *LocationMinimal) GetCountryNameOfficial() string

GetCountryNameOfficial returns the CountryNameOfficial field value if set, zero value otherwise.

func (*LocationMinimal) GetCountryNameOfficialOk

func (o *LocationMinimal) GetCountryNameOfficialOk() (*string, bool)

GetCountryNameOfficialOk returns a tuple with the CountryNameOfficial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetCountryNameOk

func (o *LocationMinimal) GetCountryNameOk() (*string, bool)

GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetDistrict

func (o *LocationMinimal) GetDistrict() string

GetDistrict returns the District field value if set, zero value otherwise.

func (*LocationMinimal) GetDistrictOk

func (o *LocationMinimal) GetDistrictOk() (*string, bool)

GetDistrictOk returns a tuple with the District field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetGeonameId

func (o *LocationMinimal) GetGeonameId() string

GetGeonameId returns the GeonameId field value if set, zero value otherwise.

func (*LocationMinimal) GetGeonameIdOk

func (o *LocationMinimal) GetGeonameIdOk() (*string, bool)

GetGeonameIdOk returns a tuple with the GeonameId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetIsEu

func (o *LocationMinimal) GetIsEu() bool

GetIsEu returns the IsEu field value if set, zero value otherwise.

func (*LocationMinimal) GetIsEuOk

func (o *LocationMinimal) GetIsEuOk() (*bool, bool)

GetIsEuOk returns a tuple with the IsEu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetLatitude

func (o *LocationMinimal) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*LocationMinimal) GetLatitudeOk

func (o *LocationMinimal) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetLongitude

func (o *LocationMinimal) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*LocationMinimal) GetLongitudeOk

func (o *LocationMinimal) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetStateCode

func (o *LocationMinimal) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise.

func (*LocationMinimal) GetStateCodeOk

func (o *LocationMinimal) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetStateProv

func (o *LocationMinimal) GetStateProv() string

GetStateProv returns the StateProv field value if set, zero value otherwise.

func (*LocationMinimal) GetStateProvOk

func (o *LocationMinimal) GetStateProvOk() (*string, bool)

GetStateProvOk returns a tuple with the StateProv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) GetZipcode

func (o *LocationMinimal) GetZipcode() string

GetZipcode returns the Zipcode field value if set, zero value otherwise.

func (*LocationMinimal) GetZipcodeOk

func (o *LocationMinimal) GetZipcodeOk() (*string, bool)

GetZipcodeOk returns a tuple with the Zipcode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LocationMinimal) HasCity

func (o *LocationMinimal) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*LocationMinimal) HasContinentCode

func (o *LocationMinimal) HasContinentCode() bool

HasContinentCode returns a boolean if a field has been set.

func (*LocationMinimal) HasContinentName

func (o *LocationMinimal) HasContinentName() bool

HasContinentName returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryCapital

func (o *LocationMinimal) HasCountryCapital() bool

HasCountryCapital returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryCode2

func (o *LocationMinimal) HasCountryCode2() bool

HasCountryCode2 returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryCode3

func (o *LocationMinimal) HasCountryCode3() bool

HasCountryCode3 returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryEmoji

func (o *LocationMinimal) HasCountryEmoji() bool

HasCountryEmoji returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryFlag

func (o *LocationMinimal) HasCountryFlag() bool

HasCountryFlag returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryName

func (o *LocationMinimal) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*LocationMinimal) HasCountryNameOfficial

func (o *LocationMinimal) HasCountryNameOfficial() bool

HasCountryNameOfficial returns a boolean if a field has been set.

func (*LocationMinimal) HasDistrict

func (o *LocationMinimal) HasDistrict() bool

HasDistrict returns a boolean if a field has been set.

func (*LocationMinimal) HasGeonameId

func (o *LocationMinimal) HasGeonameId() bool

HasGeonameId returns a boolean if a field has been set.

func (*LocationMinimal) HasIsEu

func (o *LocationMinimal) HasIsEu() bool

HasIsEu returns a boolean if a field has been set.

func (*LocationMinimal) HasLatitude

func (o *LocationMinimal) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*LocationMinimal) HasLongitude

func (o *LocationMinimal) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*LocationMinimal) HasStateCode

func (o *LocationMinimal) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (*LocationMinimal) HasStateProv

func (o *LocationMinimal) HasStateProv() bool

HasStateProv returns a boolean if a field has been set.

func (*LocationMinimal) HasZipcode

func (o *LocationMinimal) HasZipcode() bool

HasZipcode returns a boolean if a field has been set.

func (LocationMinimal) MarshalJSON

func (o LocationMinimal) MarshalJSON() ([]byte, error)

func (*LocationMinimal) SetCity

func (o *LocationMinimal) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*LocationMinimal) SetContinentCode

func (o *LocationMinimal) SetContinentCode(v string)

SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.

func (*LocationMinimal) SetContinentName

func (o *LocationMinimal) SetContinentName(v string)

SetContinentName gets a reference to the given string and assigns it to the ContinentName field.

func (*LocationMinimal) SetCountryCapital

func (o *LocationMinimal) SetCountryCapital(v string)

SetCountryCapital gets a reference to the given string and assigns it to the CountryCapital field.

func (*LocationMinimal) SetCountryCode2

func (o *LocationMinimal) SetCountryCode2(v string)

SetCountryCode2 gets a reference to the given string and assigns it to the CountryCode2 field.

func (*LocationMinimal) SetCountryCode3

func (o *LocationMinimal) SetCountryCode3(v string)

SetCountryCode3 gets a reference to the given string and assigns it to the CountryCode3 field.

func (*LocationMinimal) SetCountryEmoji

func (o *LocationMinimal) SetCountryEmoji(v string)

SetCountryEmoji gets a reference to the given string and assigns it to the CountryEmoji field.

func (*LocationMinimal) SetCountryFlag

func (o *LocationMinimal) SetCountryFlag(v string)

SetCountryFlag gets a reference to the given string and assigns it to the CountryFlag field.

func (*LocationMinimal) SetCountryName

func (o *LocationMinimal) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*LocationMinimal) SetCountryNameOfficial

func (o *LocationMinimal) SetCountryNameOfficial(v string)

SetCountryNameOfficial gets a reference to the given string and assigns it to the CountryNameOfficial field.

func (*LocationMinimal) SetDistrict

func (o *LocationMinimal) SetDistrict(v string)

SetDistrict gets a reference to the given string and assigns it to the District field.

func (*LocationMinimal) SetGeonameId

func (o *LocationMinimal) SetGeonameId(v string)

SetGeonameId gets a reference to the given string and assigns it to the GeonameId field.

func (*LocationMinimal) SetIsEu

func (o *LocationMinimal) SetIsEu(v bool)

SetIsEu gets a reference to the given bool and assigns it to the IsEu field.

func (*LocationMinimal) SetLatitude

func (o *LocationMinimal) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*LocationMinimal) SetLongitude

func (o *LocationMinimal) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*LocationMinimal) SetStateCode

func (o *LocationMinimal) SetStateCode(v string)

SetStateCode gets a reference to the given string and assigns it to the StateCode field.

func (*LocationMinimal) SetStateProv

func (o *LocationMinimal) SetStateProv(v string)

SetStateProv gets a reference to the given string and assigns it to the StateProv field.

func (*LocationMinimal) SetZipcode

func (o *LocationMinimal) SetZipcode(v string)

SetZipcode gets a reference to the given string and assigns it to the Zipcode field.

func (LocationMinimal) ToMap

func (o LocationMinimal) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Network

type Network struct {
	Asn            *NetworkAsn     `json:"asn,omitempty"`
	ConnectionType *string         `json:"connection_type,omitempty"`
	Company        *NetworkCompany `json:"company,omitempty"`
}

Network struct for Network

func NewNetwork

func NewNetwork() *Network

NewNetwork instantiates a new Network object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkWithDefaults

func NewNetworkWithDefaults() *Network

NewNetworkWithDefaults instantiates a new Network object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Network) GetAsn

func (o *Network) GetAsn() NetworkAsn

GetAsn returns the Asn field value if set, zero value otherwise.

func (*Network) GetAsnOk

func (o *Network) GetAsnOk() (*NetworkAsn, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetCompany

func (o *Network) GetCompany() NetworkCompany

GetCompany returns the Company field value if set, zero value otherwise.

func (*Network) GetCompanyOk

func (o *Network) GetCompanyOk() (*NetworkCompany, bool)

GetCompanyOk returns a tuple with the Company field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) GetConnectionType

func (o *Network) GetConnectionType() string

GetConnectionType returns the ConnectionType field value if set, zero value otherwise.

func (*Network) GetConnectionTypeOk

func (o *Network) GetConnectionTypeOk() (*string, bool)

GetConnectionTypeOk returns a tuple with the ConnectionType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Network) HasAsn

func (o *Network) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*Network) HasCompany

func (o *Network) HasCompany() bool

HasCompany returns a boolean if a field has been set.

func (*Network) HasConnectionType

func (o *Network) HasConnectionType() bool

HasConnectionType returns a boolean if a field has been set.

func (Network) MarshalJSON

func (o Network) MarshalJSON() ([]byte, error)

func (*Network) SetAsn

func (o *Network) SetAsn(v NetworkAsn)

SetAsn gets a reference to the given NetworkAsn and assigns it to the Asn field.

func (*Network) SetCompany

func (o *Network) SetCompany(v NetworkCompany)

SetCompany gets a reference to the given NetworkCompany and assigns it to the Company field.

func (*Network) SetConnectionType

func (o *Network) SetConnectionType(v string)

SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.

func (Network) ToMap

func (o Network) ToMap() (map[string]interface{}, error)

type NetworkAsn

type NetworkAsn struct {
	AsNumber         *string `json:"as_number,omitempty"`
	Organization     *string `json:"organization,omitempty"`
	Country          *string `json:"country,omitempty"`
	AsnName          *string `json:"asn_name,omitempty"`
	Type             *string `json:"type,omitempty"`
	Domain           *string `json:"domain,omitempty"`
	DateAllocated    *string `json:"date_allocated,omitempty"`
	AllocationStatus *string `json:"allocation_status,omitempty"`
	NumOfIpv4Routes  *string `json:"num_of_ipv4_routes,omitempty"`
	NumOfIpv6Routes  *string `json:"num_of_ipv6_routes,omitempty"`
	Rir              *string `json:"rir,omitempty"`
}

NetworkAsn struct for NetworkAsn

func NewNetworkAsn

func NewNetworkAsn() *NetworkAsn

NewNetworkAsn instantiates a new NetworkAsn object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkAsnWithDefaults

func NewNetworkAsnWithDefaults() *NetworkAsn

NewNetworkAsnWithDefaults instantiates a new NetworkAsn object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkAsn) GetAllocationStatus

func (o *NetworkAsn) GetAllocationStatus() string

GetAllocationStatus returns the AllocationStatus field value if set, zero value otherwise.

func (*NetworkAsn) GetAllocationStatusOk

func (o *NetworkAsn) GetAllocationStatusOk() (*string, bool)

GetAllocationStatusOk returns a tuple with the AllocationStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetAsNumber

func (o *NetworkAsn) GetAsNumber() string

GetAsNumber returns the AsNumber field value if set, zero value otherwise.

func (*NetworkAsn) GetAsNumberOk

func (o *NetworkAsn) GetAsNumberOk() (*string, bool)

GetAsNumberOk returns a tuple with the AsNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetAsnName

func (o *NetworkAsn) GetAsnName() string

GetAsnName returns the AsnName field value if set, zero value otherwise.

func (*NetworkAsn) GetAsnNameOk

func (o *NetworkAsn) GetAsnNameOk() (*string, bool)

GetAsnNameOk returns a tuple with the AsnName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetCountry

func (o *NetworkAsn) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*NetworkAsn) GetCountryOk

func (o *NetworkAsn) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetDateAllocated

func (o *NetworkAsn) GetDateAllocated() string

GetDateAllocated returns the DateAllocated field value if set, zero value otherwise.

func (*NetworkAsn) GetDateAllocatedOk

func (o *NetworkAsn) GetDateAllocatedOk() (*string, bool)

GetDateAllocatedOk returns a tuple with the DateAllocated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetDomain

func (o *NetworkAsn) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*NetworkAsn) GetDomainOk

func (o *NetworkAsn) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetNumOfIpv4Routes

func (o *NetworkAsn) GetNumOfIpv4Routes() string

GetNumOfIpv4Routes returns the NumOfIpv4Routes field value if set, zero value otherwise.

func (*NetworkAsn) GetNumOfIpv4RoutesOk

func (o *NetworkAsn) GetNumOfIpv4RoutesOk() (*string, bool)

GetNumOfIpv4RoutesOk returns a tuple with the NumOfIpv4Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetNumOfIpv6Routes

func (o *NetworkAsn) GetNumOfIpv6Routes() string

GetNumOfIpv6Routes returns the NumOfIpv6Routes field value if set, zero value otherwise.

func (*NetworkAsn) GetNumOfIpv6RoutesOk

func (o *NetworkAsn) GetNumOfIpv6RoutesOk() (*string, bool)

GetNumOfIpv6RoutesOk returns a tuple with the NumOfIpv6Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetOrganization

func (o *NetworkAsn) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*NetworkAsn) GetOrganizationOk

func (o *NetworkAsn) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetRir

func (o *NetworkAsn) GetRir() string

GetRir returns the Rir field value if set, zero value otherwise.

func (*NetworkAsn) GetRirOk

func (o *NetworkAsn) GetRirOk() (*string, bool)

GetRirOk returns a tuple with the Rir field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) GetType

func (o *NetworkAsn) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkAsn) GetTypeOk

func (o *NetworkAsn) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAsn) HasAllocationStatus

func (o *NetworkAsn) HasAllocationStatus() bool

HasAllocationStatus returns a boolean if a field has been set.

func (*NetworkAsn) HasAsNumber

func (o *NetworkAsn) HasAsNumber() bool

HasAsNumber returns a boolean if a field has been set.

func (*NetworkAsn) HasAsnName

func (o *NetworkAsn) HasAsnName() bool

HasAsnName returns a boolean if a field has been set.

func (*NetworkAsn) HasCountry

func (o *NetworkAsn) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*NetworkAsn) HasDateAllocated

func (o *NetworkAsn) HasDateAllocated() bool

HasDateAllocated returns a boolean if a field has been set.

func (*NetworkAsn) HasDomain

func (o *NetworkAsn) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*NetworkAsn) HasNumOfIpv4Routes

func (o *NetworkAsn) HasNumOfIpv4Routes() bool

HasNumOfIpv4Routes returns a boolean if a field has been set.

func (*NetworkAsn) HasNumOfIpv6Routes

func (o *NetworkAsn) HasNumOfIpv6Routes() bool

HasNumOfIpv6Routes returns a boolean if a field has been set.

func (*NetworkAsn) HasOrganization

func (o *NetworkAsn) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*NetworkAsn) HasRir

func (o *NetworkAsn) HasRir() bool

HasRir returns a boolean if a field has been set.

func (*NetworkAsn) HasType

func (o *NetworkAsn) HasType() bool

HasType returns a boolean if a field has been set.

func (NetworkAsn) MarshalJSON

func (o NetworkAsn) MarshalJSON() ([]byte, error)

func (*NetworkAsn) SetAllocationStatus

func (o *NetworkAsn) SetAllocationStatus(v string)

SetAllocationStatus gets a reference to the given string and assigns it to the AllocationStatus field.

func (*NetworkAsn) SetAsNumber

func (o *NetworkAsn) SetAsNumber(v string)

SetAsNumber gets a reference to the given string and assigns it to the AsNumber field.

func (*NetworkAsn) SetAsnName

func (o *NetworkAsn) SetAsnName(v string)

SetAsnName gets a reference to the given string and assigns it to the AsnName field.

func (*NetworkAsn) SetCountry

func (o *NetworkAsn) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*NetworkAsn) SetDateAllocated

func (o *NetworkAsn) SetDateAllocated(v string)

SetDateAllocated gets a reference to the given string and assigns it to the DateAllocated field.

func (*NetworkAsn) SetDomain

func (o *NetworkAsn) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*NetworkAsn) SetNumOfIpv4Routes

func (o *NetworkAsn) SetNumOfIpv4Routes(v string)

SetNumOfIpv4Routes gets a reference to the given string and assigns it to the NumOfIpv4Routes field.

func (*NetworkAsn) SetNumOfIpv6Routes

func (o *NetworkAsn) SetNumOfIpv6Routes(v string)

SetNumOfIpv6Routes gets a reference to the given string and assigns it to the NumOfIpv6Routes field.

func (*NetworkAsn) SetOrganization

func (o *NetworkAsn) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (*NetworkAsn) SetRir

func (o *NetworkAsn) SetRir(v string)

SetRir gets a reference to the given string and assigns it to the Rir field.

func (*NetworkAsn) SetType

func (o *NetworkAsn) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (NetworkAsn) ToMap

func (o NetworkAsn) ToMap() (map[string]interface{}, error)

type NetworkCompany

type NetworkCompany struct {
	Name   *string `json:"name,omitempty"`
	Type   *string `json:"type,omitempty"`
	Domain *string `json:"domain,omitempty"`
}

NetworkCompany struct for NetworkCompany

func NewNetworkCompany

func NewNetworkCompany() *NetworkCompany

NewNetworkCompany instantiates a new NetworkCompany object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkCompanyWithDefaults

func NewNetworkCompanyWithDefaults() *NetworkCompany

NewNetworkCompanyWithDefaults instantiates a new NetworkCompany object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkCompany) GetDomain

func (o *NetworkCompany) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*NetworkCompany) GetDomainOk

func (o *NetworkCompany) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkCompany) GetName

func (o *NetworkCompany) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkCompany) GetNameOk

func (o *NetworkCompany) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkCompany) GetType

func (o *NetworkCompany) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*NetworkCompany) GetTypeOk

func (o *NetworkCompany) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkCompany) HasDomain

func (o *NetworkCompany) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*NetworkCompany) HasName

func (o *NetworkCompany) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkCompany) HasType

func (o *NetworkCompany) HasType() bool

HasType returns a boolean if a field has been set.

func (NetworkCompany) MarshalJSON

func (o NetworkCompany) MarshalJSON() ([]byte, error)

func (*NetworkCompany) SetDomain

func (o *NetworkCompany) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*NetworkCompany) SetName

func (o *NetworkCompany) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkCompany) SetType

func (o *NetworkCompany) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (NetworkCompany) ToMap

func (o NetworkCompany) ToMap() (map[string]interface{}, error)

type NetworkMinimal

type NetworkMinimal struct {
	Asn     *NetworkMinimalAsn     `json:"asn,omitempty"`
	Company *NetworkMinimalCompany `json:"company,omitempty"`
}

NetworkMinimal struct for NetworkMinimal

func NewNetworkMinimal

func NewNetworkMinimal() *NetworkMinimal

NewNetworkMinimal instantiates a new NetworkMinimal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkMinimalWithDefaults

func NewNetworkMinimalWithDefaults() *NetworkMinimal

NewNetworkMinimalWithDefaults instantiates a new NetworkMinimal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkMinimal) GetAsn

func (o *NetworkMinimal) GetAsn() NetworkMinimalAsn

GetAsn returns the Asn field value if set, zero value otherwise.

func (*NetworkMinimal) GetAsnOk

func (o *NetworkMinimal) GetAsnOk() (*NetworkMinimalAsn, bool)

GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkMinimal) GetCompany

func (o *NetworkMinimal) GetCompany() NetworkMinimalCompany

GetCompany returns the Company field value if set, zero value otherwise.

func (*NetworkMinimal) GetCompanyOk

func (o *NetworkMinimal) GetCompanyOk() (*NetworkMinimalCompany, bool)

GetCompanyOk returns a tuple with the Company field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkMinimal) HasAsn

func (o *NetworkMinimal) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*NetworkMinimal) HasCompany

func (o *NetworkMinimal) HasCompany() bool

HasCompany returns a boolean if a field has been set.

func (NetworkMinimal) MarshalJSON

func (o NetworkMinimal) MarshalJSON() ([]byte, error)

func (*NetworkMinimal) SetAsn

func (o *NetworkMinimal) SetAsn(v NetworkMinimalAsn)

SetAsn gets a reference to the given NetworkMinimalAsn and assigns it to the Asn field.

func (*NetworkMinimal) SetCompany

func (o *NetworkMinimal) SetCompany(v NetworkMinimalCompany)

SetCompany gets a reference to the given NetworkMinimalCompany and assigns it to the Company field.

func (NetworkMinimal) ToMap

func (o NetworkMinimal) ToMap() (map[string]interface{}, error)

type NetworkMinimalAsn

type NetworkMinimalAsn struct {
	AsNumber     *string `json:"as_number,omitempty"`
	Organization *string `json:"organization,omitempty"`
	Country      *string `json:"country,omitempty"`
}

NetworkMinimalAsn struct for NetworkMinimalAsn

func NewNetworkMinimalAsn

func NewNetworkMinimalAsn() *NetworkMinimalAsn

NewNetworkMinimalAsn instantiates a new NetworkMinimalAsn object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkMinimalAsnWithDefaults

func NewNetworkMinimalAsnWithDefaults() *NetworkMinimalAsn

NewNetworkMinimalAsnWithDefaults instantiates a new NetworkMinimalAsn object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkMinimalAsn) GetAsNumber

func (o *NetworkMinimalAsn) GetAsNumber() string

GetAsNumber returns the AsNumber field value if set, zero value otherwise.

func (*NetworkMinimalAsn) GetAsNumberOk

func (o *NetworkMinimalAsn) GetAsNumberOk() (*string, bool)

GetAsNumberOk returns a tuple with the AsNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkMinimalAsn) GetCountry

func (o *NetworkMinimalAsn) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*NetworkMinimalAsn) GetCountryOk

func (o *NetworkMinimalAsn) GetCountryOk() (*string, bool)

GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkMinimalAsn) GetOrganization

func (o *NetworkMinimalAsn) GetOrganization() string

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*NetworkMinimalAsn) GetOrganizationOk

func (o *NetworkMinimalAsn) GetOrganizationOk() (*string, bool)

GetOrganizationOk returns a tuple with the Organization field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkMinimalAsn) HasAsNumber

func (o *NetworkMinimalAsn) HasAsNumber() bool

HasAsNumber returns a boolean if a field has been set.

func (*NetworkMinimalAsn) HasCountry

func (o *NetworkMinimalAsn) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*NetworkMinimalAsn) HasOrganization

func (o *NetworkMinimalAsn) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (NetworkMinimalAsn) MarshalJSON

func (o NetworkMinimalAsn) MarshalJSON() ([]byte, error)

func (*NetworkMinimalAsn) SetAsNumber

func (o *NetworkMinimalAsn) SetAsNumber(v string)

SetAsNumber gets a reference to the given string and assigns it to the AsNumber field.

func (*NetworkMinimalAsn) SetCountry

func (o *NetworkMinimalAsn) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*NetworkMinimalAsn) SetOrganization

func (o *NetworkMinimalAsn) SetOrganization(v string)

SetOrganization gets a reference to the given string and assigns it to the Organization field.

func (NetworkMinimalAsn) ToMap

func (o NetworkMinimalAsn) ToMap() (map[string]interface{}, error)

type NetworkMinimalCompany

type NetworkMinimalCompany struct {
	Name *string `json:"name,omitempty"`
}

NetworkMinimalCompany struct for NetworkMinimalCompany

func NewNetworkMinimalCompany

func NewNetworkMinimalCompany() *NetworkMinimalCompany

NewNetworkMinimalCompany instantiates a new NetworkMinimalCompany object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNetworkMinimalCompanyWithDefaults

func NewNetworkMinimalCompanyWithDefaults() *NetworkMinimalCompany

NewNetworkMinimalCompanyWithDefaults instantiates a new NetworkMinimalCompany object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NetworkMinimalCompany) GetName

func (o *NetworkMinimalCompany) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkMinimalCompany) GetNameOk

func (o *NetworkMinimalCompany) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkMinimalCompany) HasName

func (o *NetworkMinimalCompany) HasName() bool

HasName returns a boolean if a field has been set.

func (NetworkMinimalCompany) MarshalJSON

func (o NetworkMinimalCompany) MarshalJSON() ([]byte, error)

func (*NetworkMinimalCompany) SetName

func (o *NetworkMinimalCompany) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (NetworkMinimalCompany) ToMap

func (o NetworkMinimalCompany) ToMap() (map[string]interface{}, error)

type NullableASNConnection

type NullableASNConnection struct {
	// contains filtered or unexported fields
}

func NewNullableASNConnection

func NewNullableASNConnection(val *ASNConnection) *NullableASNConnection

func (NullableASNConnection) Get

func (NullableASNConnection) IsSet

func (v NullableASNConnection) IsSet() bool

func (NullableASNConnection) MarshalJSON

func (v NullableASNConnection) MarshalJSON() ([]byte, error)

func (*NullableASNConnection) Set

func (v *NullableASNConnection) Set(val *ASNConnection)

func (*NullableASNConnection) UnmarshalJSON

func (v *NullableASNConnection) UnmarshalJSON(src []byte) error

func (*NullableASNConnection) Unset

func (v *NullableASNConnection) Unset()

type NullableASNDetails

type NullableASNDetails struct {
	// contains filtered or unexported fields
}

func NewNullableASNDetails

func NewNullableASNDetails(val *ASNDetails) *NullableASNDetails

func (NullableASNDetails) Get

func (v NullableASNDetails) Get() *ASNDetails

func (NullableASNDetails) IsSet

func (v NullableASNDetails) IsSet() bool

func (NullableASNDetails) MarshalJSON

func (v NullableASNDetails) MarshalJSON() ([]byte, error)

func (*NullableASNDetails) Set

func (v *NullableASNDetails) Set(val *ASNDetails)

func (*NullableASNDetails) UnmarshalJSON

func (v *NullableASNDetails) UnmarshalJSON(src []byte) error

func (*NullableASNDetails) Unset

func (v *NullableASNDetails) Unset()

type NullableASNResponse

type NullableASNResponse struct {
	// contains filtered or unexported fields
}

func NewNullableASNResponse

func NewNullableASNResponse(val *ASNResponse) *NullableASNResponse

func (NullableASNResponse) Get

func (NullableASNResponse) IsSet

func (v NullableASNResponse) IsSet() bool

func (NullableASNResponse) MarshalJSON

func (v NullableASNResponse) MarshalJSON() ([]byte, error)

func (*NullableASNResponse) Set

func (v *NullableASNResponse) Set(val *ASNResponse)

func (*NullableASNResponse) UnmarshalJSON

func (v *NullableASNResponse) UnmarshalJSON(src []byte) error

func (*NullableASNResponse) Unset

func (v *NullableASNResponse) Unset()

type NullableASNResponseXML

type NullableASNResponseXML struct {
	// contains filtered or unexported fields
}

func NewNullableASNResponseXML

func NewNullableASNResponseXML(val *ASNResponseXML) *NullableASNResponseXML

func (NullableASNResponseXML) Get

func (NullableASNResponseXML) IsSet

func (v NullableASNResponseXML) IsSet() bool

func (NullableASNResponseXML) MarshalJSON

func (v NullableASNResponseXML) MarshalJSON() ([]byte, error)

func (*NullableASNResponseXML) Set

func (*NullableASNResponseXML) UnmarshalJSON

func (v *NullableASNResponseXML) UnmarshalJSON(src []byte) error

func (*NullableASNResponseXML) Unset

func (v *NullableASNResponseXML) Unset()

type NullableASNResponseXMLAsn

type NullableASNResponseXMLAsn struct {
	// contains filtered or unexported fields
}

func NewNullableASNResponseXMLAsn

func NewNullableASNResponseXMLAsn(val *ASNResponseXMLAsn) *NullableASNResponseXMLAsn

func (NullableASNResponseXMLAsn) Get

func (NullableASNResponseXMLAsn) IsSet

func (v NullableASNResponseXMLAsn) IsSet() bool

func (NullableASNResponseXMLAsn) MarshalJSON

func (v NullableASNResponseXMLAsn) MarshalJSON() ([]byte, error)

func (*NullableASNResponseXMLAsn) Set

func (*NullableASNResponseXMLAsn) UnmarshalJSON

func (v *NullableASNResponseXMLAsn) UnmarshalJSON(src []byte) error

func (*NullableASNResponseXMLAsn) Unset

func (v *NullableASNResponseXMLAsn) Unset()

type NullableAbuse

type NullableAbuse struct {
	// contains filtered or unexported fields
}

func NewNullableAbuse

func NewNullableAbuse(val *Abuse) *NullableAbuse

func (NullableAbuse) Get

func (v NullableAbuse) Get() *Abuse

func (NullableAbuse) IsSet

func (v NullableAbuse) IsSet() bool

func (NullableAbuse) MarshalJSON

func (v NullableAbuse) MarshalJSON() ([]byte, error)

func (*NullableAbuse) Set

func (v *NullableAbuse) Set(val *Abuse)

func (*NullableAbuse) UnmarshalJSON

func (v *NullableAbuse) UnmarshalJSON(src []byte) error

func (*NullableAbuse) Unset

func (v *NullableAbuse) Unset()

type NullableAbuseResponse

type NullableAbuseResponse struct {
	// contains filtered or unexported fields
}

func NewNullableAbuseResponse

func NewNullableAbuseResponse(val *AbuseResponse) *NullableAbuseResponse

func (NullableAbuseResponse) Get

func (NullableAbuseResponse) IsSet

func (v NullableAbuseResponse) IsSet() bool

func (NullableAbuseResponse) MarshalJSON

func (v NullableAbuseResponse) MarshalJSON() ([]byte, error)

func (*NullableAbuseResponse) Set

func (v *NullableAbuseResponse) Set(val *AbuseResponse)

func (*NullableAbuseResponse) UnmarshalJSON

func (v *NullableAbuseResponse) UnmarshalJSON(src []byte) error

func (*NullableAbuseResponse) Unset

func (v *NullableAbuseResponse) Unset()

type NullableAbuseResponseXML

type NullableAbuseResponseXML struct {
	// contains filtered or unexported fields
}

func NewNullableAbuseResponseXML

func NewNullableAbuseResponseXML(val *AbuseResponseXML) *NullableAbuseResponseXML

func (NullableAbuseResponseXML) Get

func (NullableAbuseResponseXML) IsSet

func (v NullableAbuseResponseXML) IsSet() bool

func (NullableAbuseResponseXML) MarshalJSON

func (v NullableAbuseResponseXML) MarshalJSON() ([]byte, error)

func (*NullableAbuseResponseXML) Set

func (*NullableAbuseResponseXML) UnmarshalJSON

func (v *NullableAbuseResponseXML) UnmarshalJSON(src []byte) error

func (*NullableAbuseResponseXML) Unset

func (v *NullableAbuseResponseXML) Unset()

type NullableAstronomy

type NullableAstronomy struct {
	// contains filtered or unexported fields
}

func NewNullableAstronomy

func NewNullableAstronomy(val *Astronomy) *NullableAstronomy

func (NullableAstronomy) Get

func (v NullableAstronomy) Get() *Astronomy

func (NullableAstronomy) IsSet

func (v NullableAstronomy) IsSet() bool

func (NullableAstronomy) MarshalJSON

func (v NullableAstronomy) MarshalJSON() ([]byte, error)

func (*NullableAstronomy) Set

func (v *NullableAstronomy) Set(val *Astronomy)

func (*NullableAstronomy) UnmarshalJSON

func (v *NullableAstronomy) UnmarshalJSON(src []byte) error

func (*NullableAstronomy) Unset

func (v *NullableAstronomy) Unset()

type NullableAstronomyEvening

type NullableAstronomyEvening struct {
	// contains filtered or unexported fields
}

func NewNullableAstronomyEvening

func NewNullableAstronomyEvening(val *AstronomyEvening) *NullableAstronomyEvening

func (NullableAstronomyEvening) Get

func (NullableAstronomyEvening) IsSet

func (v NullableAstronomyEvening) IsSet() bool

func (NullableAstronomyEvening) MarshalJSON

func (v NullableAstronomyEvening) MarshalJSON() ([]byte, error)

func (*NullableAstronomyEvening) Set

func (*NullableAstronomyEvening) UnmarshalJSON

func (v *NullableAstronomyEvening) UnmarshalJSON(src []byte) error

func (*NullableAstronomyEvening) Unset

func (v *NullableAstronomyEvening) Unset()

type NullableAstronomyLocation

type NullableAstronomyLocation struct {
	// contains filtered or unexported fields
}

func NewNullableAstronomyLocation

func NewNullableAstronomyLocation(val *AstronomyLocation) *NullableAstronomyLocation

func (NullableAstronomyLocation) Get

func (NullableAstronomyLocation) IsSet

func (v NullableAstronomyLocation) IsSet() bool

func (NullableAstronomyLocation) MarshalJSON

func (v NullableAstronomyLocation) MarshalJSON() ([]byte, error)

func (*NullableAstronomyLocation) Set

func (*NullableAstronomyLocation) UnmarshalJSON

func (v *NullableAstronomyLocation) UnmarshalJSON(src []byte) error

func (*NullableAstronomyLocation) Unset

func (v *NullableAstronomyLocation) Unset()

type NullableAstronomyMorning

type NullableAstronomyMorning struct {
	// contains filtered or unexported fields
}

func NewNullableAstronomyMorning

func NewNullableAstronomyMorning(val *AstronomyMorning) *NullableAstronomyMorning

func (NullableAstronomyMorning) Get

func (NullableAstronomyMorning) IsSet

func (v NullableAstronomyMorning) IsSet() bool

func (NullableAstronomyMorning) MarshalJSON

func (v NullableAstronomyMorning) MarshalJSON() ([]byte, error)

func (*NullableAstronomyMorning) Set

func (*NullableAstronomyMorning) UnmarshalJSON

func (v *NullableAstronomyMorning) UnmarshalJSON(src []byte) error

func (*NullableAstronomyMorning) Unset

func (v *NullableAstronomyMorning) Unset()

type NullableAstronomyResponse

type NullableAstronomyResponse struct {
	// contains filtered or unexported fields
}

func NewNullableAstronomyResponse

func NewNullableAstronomyResponse(val *AstronomyResponse) *NullableAstronomyResponse

func (NullableAstronomyResponse) Get

func (NullableAstronomyResponse) IsSet

func (v NullableAstronomyResponse) IsSet() bool

func (NullableAstronomyResponse) MarshalJSON

func (v NullableAstronomyResponse) MarshalJSON() ([]byte, error)

func (*NullableAstronomyResponse) Set

func (*NullableAstronomyResponse) UnmarshalJSON

func (v *NullableAstronomyResponse) UnmarshalJSON(src []byte) error

func (*NullableAstronomyResponse) Unset

func (v *NullableAstronomyResponse) Unset()

type NullableAstronomyXMLResponse

type NullableAstronomyXMLResponse struct {
	// contains filtered or unexported fields
}

func NewNullableAstronomyXMLResponse

func NewNullableAstronomyXMLResponse(val *AstronomyXMLResponse) *NullableAstronomyXMLResponse

func (NullableAstronomyXMLResponse) Get

func (NullableAstronomyXMLResponse) IsSet

func (NullableAstronomyXMLResponse) MarshalJSON

func (v NullableAstronomyXMLResponse) MarshalJSON() ([]byte, error)

func (*NullableAstronomyXMLResponse) Set

func (*NullableAstronomyXMLResponse) UnmarshalJSON

func (v *NullableAstronomyXMLResponse) UnmarshalJSON(src []byte) error

func (*NullableAstronomyXMLResponse) Unset

func (v *NullableAstronomyXMLResponse) Unset()

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableBulkIPGeolocation

type NullableBulkIPGeolocation struct {
	// contains filtered or unexported fields
}

func NewNullableBulkIPGeolocation

func NewNullableBulkIPGeolocation(val *BulkIPGeolocation) *NullableBulkIPGeolocation

func (NullableBulkIPGeolocation) Get

func (NullableBulkIPGeolocation) IsSet

func (v NullableBulkIPGeolocation) IsSet() bool

func (NullableBulkIPGeolocation) MarshalJSON

func (v NullableBulkIPGeolocation) MarshalJSON() ([]byte, error)

func (*NullableBulkIPGeolocation) Set

func (*NullableBulkIPGeolocation) UnmarshalJSON

func (v *NullableBulkIPGeolocation) UnmarshalJSON(src []byte) error

func (*NullableBulkIPGeolocation) Unset

func (v *NullableBulkIPGeolocation) Unset()

type NullableCountryMetadata

type NullableCountryMetadata struct {
	// contains filtered or unexported fields
}

func NewNullableCountryMetadata

func NewNullableCountryMetadata(val *CountryMetadata) *NullableCountryMetadata

func (NullableCountryMetadata) Get

func (NullableCountryMetadata) IsSet

func (v NullableCountryMetadata) IsSet() bool

func (NullableCountryMetadata) MarshalJSON

func (v NullableCountryMetadata) MarshalJSON() ([]byte, error)

func (*NullableCountryMetadata) Set

func (*NullableCountryMetadata) UnmarshalJSON

func (v *NullableCountryMetadata) UnmarshalJSON(src []byte) error

func (*NullableCountryMetadata) Unset

func (v *NullableCountryMetadata) Unset()

type NullableCurrency

type NullableCurrency struct {
	// contains filtered or unexported fields
}

func NewNullableCurrency

func NewNullableCurrency(val *Currency) *NullableCurrency

func (NullableCurrency) Get

func (v NullableCurrency) Get() *Currency

func (NullableCurrency) IsSet

func (v NullableCurrency) IsSet() bool

func (NullableCurrency) MarshalJSON

func (v NullableCurrency) MarshalJSON() ([]byte, error)

func (*NullableCurrency) Set

func (v *NullableCurrency) Set(val *Currency)

func (*NullableCurrency) UnmarshalJSON

func (v *NullableCurrency) UnmarshalJSON(src []byte) error

func (*NullableCurrency) Unset

func (v *NullableCurrency) Unset()

type NullableErrorResponse

type NullableErrorResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

func (v NullableErrorResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableErrorXMLResponse

type NullableErrorXMLResponse struct {
	// contains filtered or unexported fields
}

func NewNullableErrorXMLResponse

func NewNullableErrorXMLResponse(val *ErrorXMLResponse) *NullableErrorXMLResponse

func (NullableErrorXMLResponse) Get

func (NullableErrorXMLResponse) IsSet

func (v NullableErrorXMLResponse) IsSet() bool

func (NullableErrorXMLResponse) MarshalJSON

func (v NullableErrorXMLResponse) MarshalJSON() ([]byte, error)

func (*NullableErrorXMLResponse) Set

func (*NullableErrorXMLResponse) UnmarshalJSON

func (v *NullableErrorXMLResponse) UnmarshalJSON(src []byte) error

func (*NullableErrorXMLResponse) Unset

func (v *NullableErrorXMLResponse) Unset()

type NullableErrorXMLResponseArray

type NullableErrorXMLResponseArray struct {
	// contains filtered or unexported fields
}

func (NullableErrorXMLResponseArray) Get

func (NullableErrorXMLResponseArray) IsSet

func (NullableErrorXMLResponseArray) MarshalJSON

func (v NullableErrorXMLResponseArray) MarshalJSON() ([]byte, error)

func (*NullableErrorXMLResponseArray) Set

func (*NullableErrorXMLResponseArray) UnmarshalJSON

func (v *NullableErrorXMLResponseArray) UnmarshalJSON(src []byte) error

func (*NullableErrorXMLResponseArray) Unset

func (v *NullableErrorXMLResponseArray) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGeolocationResponse

type NullableGeolocationResponse struct {
	// contains filtered or unexported fields
}

func NewNullableGeolocationResponse

func NewNullableGeolocationResponse(val *GeolocationResponse) *NullableGeolocationResponse

func (NullableGeolocationResponse) Get

func (NullableGeolocationResponse) IsSet

func (NullableGeolocationResponse) MarshalJSON

func (v NullableGeolocationResponse) MarshalJSON() ([]byte, error)

func (*NullableGeolocationResponse) Set

func (*NullableGeolocationResponse) UnmarshalJSON

func (v *NullableGeolocationResponse) UnmarshalJSON(src []byte) error

func (*NullableGeolocationResponse) Unset

func (v *NullableGeolocationResponse) Unset()

type NullableGeolocationXMLResponse

type NullableGeolocationXMLResponse struct {
	// contains filtered or unexported fields
}

func (NullableGeolocationXMLResponse) Get

func (NullableGeolocationXMLResponse) IsSet

func (NullableGeolocationXMLResponse) MarshalJSON

func (v NullableGeolocationXMLResponse) MarshalJSON() ([]byte, error)

func (*NullableGeolocationXMLResponse) Set

func (*NullableGeolocationXMLResponse) UnmarshalJSON

func (v *NullableGeolocationXMLResponse) UnmarshalJSON(src []byte) error

func (*NullableGeolocationXMLResponse) Unset

func (v *NullableGeolocationXMLResponse) Unset()

type NullableGeolocationXMLResponseArray

type NullableGeolocationXMLResponseArray struct {
	// contains filtered or unexported fields
}

func (NullableGeolocationXMLResponseArray) Get

func (NullableGeolocationXMLResponseArray) IsSet

func (NullableGeolocationXMLResponseArray) MarshalJSON

func (v NullableGeolocationXMLResponseArray) MarshalJSON() ([]byte, error)

func (*NullableGeolocationXMLResponseArray) Set

func (*NullableGeolocationXMLResponseArray) UnmarshalJSON

func (v *NullableGeolocationXMLResponseArray) UnmarshalJSON(src []byte) error

func (*NullableGeolocationXMLResponseArray) Unset

type NullableGetBulkIpGeolocation200ResponseInner1

type NullableGetBulkIpGeolocation200ResponseInner1 struct {
	// contains filtered or unexported fields
}

func (NullableGetBulkIpGeolocation200ResponseInner1) Get

func (NullableGetBulkIpGeolocation200ResponseInner1) IsSet

func (NullableGetBulkIpGeolocation200ResponseInner1) MarshalJSON

func (*NullableGetBulkIpGeolocation200ResponseInner1) Set

func (*NullableGetBulkIpGeolocation200ResponseInner1) UnmarshalJSON

func (*NullableGetBulkIpGeolocation200ResponseInner1) Unset

type NullableGetBulkIpGeolocationRequest

type NullableGetBulkIpGeolocationRequest struct {
	// contains filtered or unexported fields
}

func (NullableGetBulkIpGeolocationRequest) Get

func (NullableGetBulkIpGeolocationRequest) IsSet

func (NullableGetBulkIpGeolocationRequest) MarshalJSON

func (v NullableGetBulkIpGeolocationRequest) MarshalJSON() ([]byte, error)

func (*NullableGetBulkIpGeolocationRequest) Set

func (*NullableGetBulkIpGeolocationRequest) UnmarshalJSON

func (v *NullableGetBulkIpGeolocationRequest) UnmarshalJSON(src []byte) error

func (*NullableGetBulkIpGeolocationRequest) Unset

type NullableGetBulkIpSecurityInfo200ResponseInner1

type NullableGetBulkIpSecurityInfo200ResponseInner1 struct {
	// contains filtered or unexported fields
}

func (NullableGetBulkIpSecurityInfo200ResponseInner1) Get

func (NullableGetBulkIpSecurityInfo200ResponseInner1) IsSet

func (NullableGetBulkIpSecurityInfo200ResponseInner1) MarshalJSON

func (*NullableGetBulkIpSecurityInfo200ResponseInner1) Set

func (*NullableGetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON

func (*NullableGetBulkIpSecurityInfo200ResponseInner1) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLocation

type NullableLocation struct {
	// contains filtered or unexported fields
}

func NewNullableLocation

func NewNullableLocation(val *Location) *NullableLocation

func (NullableLocation) Get

func (v NullableLocation) Get() *Location

func (NullableLocation) IsSet

func (v NullableLocation) IsSet() bool

func (NullableLocation) MarshalJSON

func (v NullableLocation) MarshalJSON() ([]byte, error)

func (*NullableLocation) Set

func (v *NullableLocation) Set(val *Location)

func (*NullableLocation) UnmarshalJSON

func (v *NullableLocation) UnmarshalJSON(src []byte) error

func (*NullableLocation) Unset

func (v *NullableLocation) Unset()

type NullableLocationMinimal

type NullableLocationMinimal struct {
	// contains filtered or unexported fields
}

func NewNullableLocationMinimal

func NewNullableLocationMinimal(val *LocationMinimal) *NullableLocationMinimal

func (NullableLocationMinimal) Get

func (NullableLocationMinimal) IsSet

func (v NullableLocationMinimal) IsSet() bool

func (NullableLocationMinimal) MarshalJSON

func (v NullableLocationMinimal) MarshalJSON() ([]byte, error)

func (*NullableLocationMinimal) Set

func (*NullableLocationMinimal) UnmarshalJSON

func (v *NullableLocationMinimal) UnmarshalJSON(src []byte) error

func (*NullableLocationMinimal) Unset

func (v *NullableLocationMinimal) Unset()

type NullableNetwork

type NullableNetwork struct {
	// contains filtered or unexported fields
}

func NewNullableNetwork

func NewNullableNetwork(val *Network) *NullableNetwork

func (NullableNetwork) Get

func (v NullableNetwork) Get() *Network

func (NullableNetwork) IsSet

func (v NullableNetwork) IsSet() bool

func (NullableNetwork) MarshalJSON

func (v NullableNetwork) MarshalJSON() ([]byte, error)

func (*NullableNetwork) Set

func (v *NullableNetwork) Set(val *Network)

func (*NullableNetwork) UnmarshalJSON

func (v *NullableNetwork) UnmarshalJSON(src []byte) error

func (*NullableNetwork) Unset

func (v *NullableNetwork) Unset()

type NullableNetworkAsn

type NullableNetworkAsn struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkAsn

func NewNullableNetworkAsn(val *NetworkAsn) *NullableNetworkAsn

func (NullableNetworkAsn) Get

func (v NullableNetworkAsn) Get() *NetworkAsn

func (NullableNetworkAsn) IsSet

func (v NullableNetworkAsn) IsSet() bool

func (NullableNetworkAsn) MarshalJSON

func (v NullableNetworkAsn) MarshalJSON() ([]byte, error)

func (*NullableNetworkAsn) Set

func (v *NullableNetworkAsn) Set(val *NetworkAsn)

func (*NullableNetworkAsn) UnmarshalJSON

func (v *NullableNetworkAsn) UnmarshalJSON(src []byte) error

func (*NullableNetworkAsn) Unset

func (v *NullableNetworkAsn) Unset()

type NullableNetworkCompany

type NullableNetworkCompany struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkCompany

func NewNullableNetworkCompany(val *NetworkCompany) *NullableNetworkCompany

func (NullableNetworkCompany) Get

func (NullableNetworkCompany) IsSet

func (v NullableNetworkCompany) IsSet() bool

func (NullableNetworkCompany) MarshalJSON

func (v NullableNetworkCompany) MarshalJSON() ([]byte, error)

func (*NullableNetworkCompany) Set

func (*NullableNetworkCompany) UnmarshalJSON

func (v *NullableNetworkCompany) UnmarshalJSON(src []byte) error

func (*NullableNetworkCompany) Unset

func (v *NullableNetworkCompany) Unset()

type NullableNetworkMinimal

type NullableNetworkMinimal struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkMinimal

func NewNullableNetworkMinimal(val *NetworkMinimal) *NullableNetworkMinimal

func (NullableNetworkMinimal) Get

func (NullableNetworkMinimal) IsSet

func (v NullableNetworkMinimal) IsSet() bool

func (NullableNetworkMinimal) MarshalJSON

func (v NullableNetworkMinimal) MarshalJSON() ([]byte, error)

func (*NullableNetworkMinimal) Set

func (*NullableNetworkMinimal) UnmarshalJSON

func (v *NullableNetworkMinimal) UnmarshalJSON(src []byte) error

func (*NullableNetworkMinimal) Unset

func (v *NullableNetworkMinimal) Unset()

type NullableNetworkMinimalAsn

type NullableNetworkMinimalAsn struct {
	// contains filtered or unexported fields
}

func NewNullableNetworkMinimalAsn

func NewNullableNetworkMinimalAsn(val *NetworkMinimalAsn) *NullableNetworkMinimalAsn

func (NullableNetworkMinimalAsn) Get

func (NullableNetworkMinimalAsn) IsSet

func (v NullableNetworkMinimalAsn) IsSet() bool

func (NullableNetworkMinimalAsn) MarshalJSON

func (v NullableNetworkMinimalAsn) MarshalJSON() ([]byte, error)

func (*NullableNetworkMinimalAsn) Set

func (*NullableNetworkMinimalAsn) UnmarshalJSON

func (v *NullableNetworkMinimalAsn) UnmarshalJSON(src []byte) error

func (*NullableNetworkMinimalAsn) Unset

func (v *NullableNetworkMinimalAsn) Unset()

type NullableNetworkMinimalCompany

type NullableNetworkMinimalCompany struct {
	// contains filtered or unexported fields
}

func (NullableNetworkMinimalCompany) Get

func (NullableNetworkMinimalCompany) IsSet

func (NullableNetworkMinimalCompany) MarshalJSON

func (v NullableNetworkMinimalCompany) MarshalJSON() ([]byte, error)

func (*NullableNetworkMinimalCompany) Set

func (*NullableNetworkMinimalCompany) UnmarshalJSON

func (v *NullableNetworkMinimalCompany) UnmarshalJSON(src []byte) error

func (*NullableNetworkMinimalCompany) Unset

func (v *NullableNetworkMinimalCompany) Unset()

type NullableParseBulkUserAgentStringsRequest

type NullableParseBulkUserAgentStringsRequest struct {
	// contains filtered or unexported fields
}

func (NullableParseBulkUserAgentStringsRequest) Get

func (NullableParseBulkUserAgentStringsRequest) IsSet

func (NullableParseBulkUserAgentStringsRequest) MarshalJSON

func (*NullableParseBulkUserAgentStringsRequest) Set

func (*NullableParseBulkUserAgentStringsRequest) UnmarshalJSON

func (v *NullableParseBulkUserAgentStringsRequest) UnmarshalJSON(src []byte) error

func (*NullableParseBulkUserAgentStringsRequest) Unset

type NullableParseUserAgentStringRequest

type NullableParseUserAgentStringRequest struct {
	// contains filtered or unexported fields
}

func (NullableParseUserAgentStringRequest) Get

func (NullableParseUserAgentStringRequest) IsSet

func (NullableParseUserAgentStringRequest) MarshalJSON

func (v NullableParseUserAgentStringRequest) MarshalJSON() ([]byte, error)

func (*NullableParseUserAgentStringRequest) Set

func (*NullableParseUserAgentStringRequest) UnmarshalJSON

func (v *NullableParseUserAgentStringRequest) UnmarshalJSON(src []byte) error

func (*NullableParseUserAgentStringRequest) Unset

type NullableSecurity

type NullableSecurity struct {
	// contains filtered or unexported fields
}

func NewNullableSecurity

func NewNullableSecurity(val *Security) *NullableSecurity

func (NullableSecurity) Get

func (v NullableSecurity) Get() *Security

func (NullableSecurity) IsSet

func (v NullableSecurity) IsSet() bool

func (NullableSecurity) MarshalJSON

func (v NullableSecurity) MarshalJSON() ([]byte, error)

func (*NullableSecurity) Set

func (v *NullableSecurity) Set(val *Security)

func (*NullableSecurity) UnmarshalJSON

func (v *NullableSecurity) UnmarshalJSON(src []byte) error

func (*NullableSecurity) Unset

func (v *NullableSecurity) Unset()

type NullableSecurityAPIResponse

type NullableSecurityAPIResponse struct {
	// contains filtered or unexported fields
}

func NewNullableSecurityAPIResponse

func NewNullableSecurityAPIResponse(val *SecurityAPIResponse) *NullableSecurityAPIResponse

func (NullableSecurityAPIResponse) Get

func (NullableSecurityAPIResponse) IsSet

func (NullableSecurityAPIResponse) MarshalJSON

func (v NullableSecurityAPIResponse) MarshalJSON() ([]byte, error)

func (*NullableSecurityAPIResponse) Set

func (*NullableSecurityAPIResponse) UnmarshalJSON

func (v *NullableSecurityAPIResponse) UnmarshalJSON(src []byte) error

func (*NullableSecurityAPIResponse) Unset

func (v *NullableSecurityAPIResponse) Unset()

type NullableSecurityAPIXMLResponse

type NullableSecurityAPIXMLResponse struct {
	// contains filtered or unexported fields
}

func (NullableSecurityAPIXMLResponse) Get

func (NullableSecurityAPIXMLResponse) IsSet

func (NullableSecurityAPIXMLResponse) MarshalJSON

func (v NullableSecurityAPIXMLResponse) MarshalJSON() ([]byte, error)

func (*NullableSecurityAPIXMLResponse) Set

func (*NullableSecurityAPIXMLResponse) UnmarshalJSON

func (v *NullableSecurityAPIXMLResponse) UnmarshalJSON(src []byte) error

func (*NullableSecurityAPIXMLResponse) Unset

func (v *NullableSecurityAPIXMLResponse) Unset()

type NullableSecurityAPIXMLResponseArray

type NullableSecurityAPIXMLResponseArray struct {
	// contains filtered or unexported fields
}

func (NullableSecurityAPIXMLResponseArray) Get

func (NullableSecurityAPIXMLResponseArray) IsSet

func (NullableSecurityAPIXMLResponseArray) MarshalJSON

func (v NullableSecurityAPIXMLResponseArray) MarshalJSON() ([]byte, error)

func (*NullableSecurityAPIXMLResponseArray) Set

func (*NullableSecurityAPIXMLResponseArray) UnmarshalJSON

func (v *NullableSecurityAPIXMLResponseArray) UnmarshalJSON(src []byte) error

func (*NullableSecurityAPIXMLResponseArray) Unset

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableTimeConversionResponse

type NullableTimeConversionResponse struct {
	// contains filtered or unexported fields
}

func (NullableTimeConversionResponse) Get

func (NullableTimeConversionResponse) IsSet

func (NullableTimeConversionResponse) MarshalJSON

func (v NullableTimeConversionResponse) MarshalJSON() ([]byte, error)

func (*NullableTimeConversionResponse) Set

func (*NullableTimeConversionResponse) UnmarshalJSON

func (v *NullableTimeConversionResponse) UnmarshalJSON(src []byte) error

func (*NullableTimeConversionResponse) Unset

func (v *NullableTimeConversionResponse) Unset()

type NullableTimeConversionXMLResponse

type NullableTimeConversionXMLResponse struct {
	// contains filtered or unexported fields
}

func (NullableTimeConversionXMLResponse) Get

func (NullableTimeConversionXMLResponse) IsSet

func (NullableTimeConversionXMLResponse) MarshalJSON

func (v NullableTimeConversionXMLResponse) MarshalJSON() ([]byte, error)

func (*NullableTimeConversionXMLResponse) Set

func (*NullableTimeConversionXMLResponse) UnmarshalJSON

func (v *NullableTimeConversionXMLResponse) UnmarshalJSON(src []byte) error

func (*NullableTimeConversionXMLResponse) Unset

type NullableTimeZone

type NullableTimeZone struct {
	// contains filtered or unexported fields
}

func NewNullableTimeZone

func NewNullableTimeZone(val *TimeZone) *NullableTimeZone

func (NullableTimeZone) Get

func (v NullableTimeZone) Get() *TimeZone

func (NullableTimeZone) IsSet

func (v NullableTimeZone) IsSet() bool

func (NullableTimeZone) MarshalJSON

func (v NullableTimeZone) MarshalJSON() ([]byte, error)

func (*NullableTimeZone) Set

func (v *NullableTimeZone) Set(val *TimeZone)

func (*NullableTimeZone) UnmarshalJSON

func (v *NullableTimeZone) UnmarshalJSON(src []byte) error

func (*NullableTimeZone) Unset

func (v *NullableTimeZone) Unset()

type NullableTimeZoneDetailedResponse

type NullableTimeZoneDetailedResponse struct {
	// contains filtered or unexported fields
}

func (NullableTimeZoneDetailedResponse) Get

func (NullableTimeZoneDetailedResponse) IsSet

func (NullableTimeZoneDetailedResponse) MarshalJSON

func (v NullableTimeZoneDetailedResponse) MarshalJSON() ([]byte, error)

func (*NullableTimeZoneDetailedResponse) Set

func (*NullableTimeZoneDetailedResponse) UnmarshalJSON

func (v *NullableTimeZoneDetailedResponse) UnmarshalJSON(src []byte) error

func (*NullableTimeZoneDetailedResponse) Unset

type NullableTimeZoneDetailedXMLResponse

type NullableTimeZoneDetailedXMLResponse struct {
	// contains filtered or unexported fields
}

func (NullableTimeZoneDetailedXMLResponse) Get

func (NullableTimeZoneDetailedXMLResponse) IsSet

func (NullableTimeZoneDetailedXMLResponse) MarshalJSON

func (v NullableTimeZoneDetailedXMLResponse) MarshalJSON() ([]byte, error)

func (*NullableTimeZoneDetailedXMLResponse) Set

func (*NullableTimeZoneDetailedXMLResponse) UnmarshalJSON

func (v *NullableTimeZoneDetailedXMLResponse) UnmarshalJSON(src []byte) error

func (*NullableTimeZoneDetailedXMLResponse) Unset

type NullableTimeZoneDstEnd

type NullableTimeZoneDstEnd struct {
	// contains filtered or unexported fields
}

func NewNullableTimeZoneDstEnd

func NewNullableTimeZoneDstEnd(val *TimeZoneDstEnd) *NullableTimeZoneDstEnd

func (NullableTimeZoneDstEnd) Get

func (NullableTimeZoneDstEnd) IsSet

func (v NullableTimeZoneDstEnd) IsSet() bool

func (NullableTimeZoneDstEnd) MarshalJSON

func (v NullableTimeZoneDstEnd) MarshalJSON() ([]byte, error)

func (*NullableTimeZoneDstEnd) Set

func (*NullableTimeZoneDstEnd) UnmarshalJSON

func (v *NullableTimeZoneDstEnd) UnmarshalJSON(src []byte) error

func (*NullableTimeZoneDstEnd) Unset

func (v *NullableTimeZoneDstEnd) Unset()

type NullableTimeZoneDstStart

type NullableTimeZoneDstStart struct {
	// contains filtered or unexported fields
}

func NewNullableTimeZoneDstStart

func NewNullableTimeZoneDstStart(val *TimeZoneDstStart) *NullableTimeZoneDstStart

func (NullableTimeZoneDstStart) Get

func (NullableTimeZoneDstStart) IsSet

func (v NullableTimeZoneDstStart) IsSet() bool

func (NullableTimeZoneDstStart) MarshalJSON

func (v NullableTimeZoneDstStart) MarshalJSON() ([]byte, error)

func (*NullableTimeZoneDstStart) Set

func (*NullableTimeZoneDstStart) UnmarshalJSON

func (v *NullableTimeZoneDstStart) UnmarshalJSON(src []byte) error

func (*NullableTimeZoneDstStart) Unset

func (v *NullableTimeZoneDstStart) Unset()

type NullableTimezoneAirport

type NullableTimezoneAirport struct {
	// contains filtered or unexported fields
}

func NewNullableTimezoneAirport

func NewNullableTimezoneAirport(val *TimezoneAirport) *NullableTimezoneAirport

func (NullableTimezoneAirport) Get

func (NullableTimezoneAirport) IsSet

func (v NullableTimezoneAirport) IsSet() bool

func (NullableTimezoneAirport) MarshalJSON

func (v NullableTimezoneAirport) MarshalJSON() ([]byte, error)

func (*NullableTimezoneAirport) Set

func (*NullableTimezoneAirport) UnmarshalJSON

func (v *NullableTimezoneAirport) UnmarshalJSON(src []byte) error

func (*NullableTimezoneAirport) Unset

func (v *NullableTimezoneAirport) Unset()

type NullableTimezoneDetail

type NullableTimezoneDetail struct {
	// contains filtered or unexported fields
}

func NewNullableTimezoneDetail

func NewNullableTimezoneDetail(val *TimezoneDetail) *NullableTimezoneDetail

func (NullableTimezoneDetail) Get

func (NullableTimezoneDetail) IsSet

func (v NullableTimezoneDetail) IsSet() bool

func (NullableTimezoneDetail) MarshalJSON

func (v NullableTimezoneDetail) MarshalJSON() ([]byte, error)

func (*NullableTimezoneDetail) Set

func (*NullableTimezoneDetail) UnmarshalJSON

func (v *NullableTimezoneDetail) UnmarshalJSON(src []byte) error

func (*NullableTimezoneDetail) Unset

func (v *NullableTimezoneDetail) Unset()

type NullableTimezoneDetailDstEnd

type NullableTimezoneDetailDstEnd struct {
	// contains filtered or unexported fields
}

func NewNullableTimezoneDetailDstEnd

func NewNullableTimezoneDetailDstEnd(val *TimezoneDetailDstEnd) *NullableTimezoneDetailDstEnd

func (NullableTimezoneDetailDstEnd) Get

func (NullableTimezoneDetailDstEnd) IsSet

func (NullableTimezoneDetailDstEnd) MarshalJSON

func (v NullableTimezoneDetailDstEnd) MarshalJSON() ([]byte, error)

func (*NullableTimezoneDetailDstEnd) Set

func (*NullableTimezoneDetailDstEnd) UnmarshalJSON

func (v *NullableTimezoneDetailDstEnd) UnmarshalJSON(src []byte) error

func (*NullableTimezoneDetailDstEnd) Unset

func (v *NullableTimezoneDetailDstEnd) Unset()

type NullableTimezoneDetailDstStart

type NullableTimezoneDetailDstStart struct {
	// contains filtered or unexported fields
}

func (NullableTimezoneDetailDstStart) Get

func (NullableTimezoneDetailDstStart) IsSet

func (NullableTimezoneDetailDstStart) MarshalJSON

func (v NullableTimezoneDetailDstStart) MarshalJSON() ([]byte, error)

func (*NullableTimezoneDetailDstStart) Set

func (*NullableTimezoneDetailDstStart) UnmarshalJSON

func (v *NullableTimezoneDetailDstStart) UnmarshalJSON(src []byte) error

func (*NullableTimezoneDetailDstStart) Unset

func (v *NullableTimezoneDetailDstStart) Unset()

type NullableTimezoneLocation

type NullableTimezoneLocation struct {
	// contains filtered or unexported fields
}

func NewNullableTimezoneLocation

func NewNullableTimezoneLocation(val *TimezoneLocation) *NullableTimezoneLocation

func (NullableTimezoneLocation) Get

func (NullableTimezoneLocation) IsSet

func (v NullableTimezoneLocation) IsSet() bool

func (NullableTimezoneLocation) MarshalJSON

func (v NullableTimezoneLocation) MarshalJSON() ([]byte, error)

func (*NullableTimezoneLocation) Set

func (*NullableTimezoneLocation) UnmarshalJSON

func (v *NullableTimezoneLocation) UnmarshalJSON(src []byte) error

func (*NullableTimezoneLocation) Unset

func (v *NullableTimezoneLocation) Unset()

type NullableTimezoneLocode

type NullableTimezoneLocode struct {
	// contains filtered or unexported fields
}

func NewNullableTimezoneLocode

func NewNullableTimezoneLocode(val *TimezoneLocode) *NullableTimezoneLocode

func (NullableTimezoneLocode) Get

func (NullableTimezoneLocode) IsSet

func (v NullableTimezoneLocode) IsSet() bool

func (NullableTimezoneLocode) MarshalJSON

func (v NullableTimezoneLocode) MarshalJSON() ([]byte, error)

func (*NullableTimezoneLocode) Set

func (*NullableTimezoneLocode) UnmarshalJSON

func (v *NullableTimezoneLocode) UnmarshalJSON(src []byte) error

func (*NullableTimezoneLocode) Unset

func (v *NullableTimezoneLocode) Unset()

type NullableUserAgentData

type NullableUserAgentData struct {
	// contains filtered or unexported fields
}

func NewNullableUserAgentData

func NewNullableUserAgentData(val *UserAgentData) *NullableUserAgentData

func (NullableUserAgentData) Get

func (NullableUserAgentData) IsSet

func (v NullableUserAgentData) IsSet() bool

func (NullableUserAgentData) MarshalJSON

func (v NullableUserAgentData) MarshalJSON() ([]byte, error)

func (*NullableUserAgentData) Set

func (v *NullableUserAgentData) Set(val *UserAgentData)

func (*NullableUserAgentData) UnmarshalJSON

func (v *NullableUserAgentData) UnmarshalJSON(src []byte) error

func (*NullableUserAgentData) Unset

func (v *NullableUserAgentData) Unset()

type NullableUserAgentDataDevice

type NullableUserAgentDataDevice struct {
	// contains filtered or unexported fields
}

func NewNullableUserAgentDataDevice

func NewNullableUserAgentDataDevice(val *UserAgentDataDevice) *NullableUserAgentDataDevice

func (NullableUserAgentDataDevice) Get

func (NullableUserAgentDataDevice) IsSet

func (NullableUserAgentDataDevice) MarshalJSON

func (v NullableUserAgentDataDevice) MarshalJSON() ([]byte, error)

func (*NullableUserAgentDataDevice) Set

func (*NullableUserAgentDataDevice) UnmarshalJSON

func (v *NullableUserAgentDataDevice) UnmarshalJSON(src []byte) error

func (*NullableUserAgentDataDevice) Unset

func (v *NullableUserAgentDataDevice) Unset()

type NullableUserAgentDataEngine

type NullableUserAgentDataEngine struct {
	// contains filtered or unexported fields
}

func NewNullableUserAgentDataEngine

func NewNullableUserAgentDataEngine(val *UserAgentDataEngine) *NullableUserAgentDataEngine

func (NullableUserAgentDataEngine) Get

func (NullableUserAgentDataEngine) IsSet

func (NullableUserAgentDataEngine) MarshalJSON

func (v NullableUserAgentDataEngine) MarshalJSON() ([]byte, error)

func (*NullableUserAgentDataEngine) Set

func (*NullableUserAgentDataEngine) UnmarshalJSON

func (v *NullableUserAgentDataEngine) UnmarshalJSON(src []byte) error

func (*NullableUserAgentDataEngine) Unset

func (v *NullableUserAgentDataEngine) Unset()

type NullableUserAgentDataOperatingSystem

type NullableUserAgentDataOperatingSystem struct {
	// contains filtered or unexported fields
}

func (NullableUserAgentDataOperatingSystem) Get

func (NullableUserAgentDataOperatingSystem) IsSet

func (NullableUserAgentDataOperatingSystem) MarshalJSON

func (v NullableUserAgentDataOperatingSystem) MarshalJSON() ([]byte, error)

func (*NullableUserAgentDataOperatingSystem) Set

func (*NullableUserAgentDataOperatingSystem) UnmarshalJSON

func (v *NullableUserAgentDataOperatingSystem) UnmarshalJSON(src []byte) error

func (*NullableUserAgentDataOperatingSystem) Unset

type NullableUserAgentXMLData

type NullableUserAgentXMLData struct {
	// contains filtered or unexported fields
}

func NewNullableUserAgentXMLData

func NewNullableUserAgentXMLData(val *UserAgentXMLData) *NullableUserAgentXMLData

func (NullableUserAgentXMLData) Get

func (NullableUserAgentXMLData) IsSet

func (v NullableUserAgentXMLData) IsSet() bool

func (NullableUserAgentXMLData) MarshalJSON

func (v NullableUserAgentXMLData) MarshalJSON() ([]byte, error)

func (*NullableUserAgentXMLData) Set

func (*NullableUserAgentXMLData) UnmarshalJSON

func (v *NullableUserAgentXMLData) UnmarshalJSON(src []byte) error

func (*NullableUserAgentXMLData) Unset

func (v *NullableUserAgentXMLData) Unset()

type NullableUserAgentXMLDataArray

type NullableUserAgentXMLDataArray struct {
	// contains filtered or unexported fields
}

func (NullableUserAgentXMLDataArray) Get

func (NullableUserAgentXMLDataArray) IsSet

func (NullableUserAgentXMLDataArray) MarshalJSON

func (v NullableUserAgentXMLDataArray) MarshalJSON() ([]byte, error)

func (*NullableUserAgentXMLDataArray) Set

func (*NullableUserAgentXMLDataArray) UnmarshalJSON

func (v *NullableUserAgentXMLDataArray) UnmarshalJSON(src []byte) error

func (*NullableUserAgentXMLDataArray) Unset

func (v *NullableUserAgentXMLDataArray) Unset()

type ParseBulkUserAgentStringsRequest

type ParseBulkUserAgentStringsRequest struct {
	UaStrings []string `json:"uaStrings,omitempty"`
}

ParseBulkUserAgentStringsRequest struct for ParseBulkUserAgentStringsRequest

func NewParseBulkUserAgentStringsRequest

func NewParseBulkUserAgentStringsRequest() *ParseBulkUserAgentStringsRequest

NewParseBulkUserAgentStringsRequest instantiates a new ParseBulkUserAgentStringsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParseBulkUserAgentStringsRequestWithDefaults

func NewParseBulkUserAgentStringsRequestWithDefaults() *ParseBulkUserAgentStringsRequest

NewParseBulkUserAgentStringsRequestWithDefaults instantiates a new ParseBulkUserAgentStringsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ParseBulkUserAgentStringsRequest) GetUaStrings

func (o *ParseBulkUserAgentStringsRequest) GetUaStrings() []string

GetUaStrings returns the UaStrings field value if set, zero value otherwise.

func (*ParseBulkUserAgentStringsRequest) GetUaStringsOk

func (o *ParseBulkUserAgentStringsRequest) GetUaStringsOk() ([]string, bool)

GetUaStringsOk returns a tuple with the UaStrings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParseBulkUserAgentStringsRequest) HasUaStrings

func (o *ParseBulkUserAgentStringsRequest) HasUaStrings() bool

HasUaStrings returns a boolean if a field has been set.

func (ParseBulkUserAgentStringsRequest) MarshalJSON

func (o ParseBulkUserAgentStringsRequest) MarshalJSON() ([]byte, error)

func (*ParseBulkUserAgentStringsRequest) SetUaStrings

func (o *ParseBulkUserAgentStringsRequest) SetUaStrings(v []string)

SetUaStrings gets a reference to the given []string and assigns it to the UaStrings field.

func (ParseBulkUserAgentStringsRequest) ToMap

func (o ParseBulkUserAgentStringsRequest) ToMap() (map[string]interface{}, error)

type ParseUserAgentStringRequest

type ParseUserAgentStringRequest struct {
	UaString *string `json:"uaString,omitempty"`
}

ParseUserAgentStringRequest struct for ParseUserAgentStringRequest

func NewParseUserAgentStringRequest

func NewParseUserAgentStringRequest() *ParseUserAgentStringRequest

NewParseUserAgentStringRequest instantiates a new ParseUserAgentStringRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParseUserAgentStringRequestWithDefaults

func NewParseUserAgentStringRequestWithDefaults() *ParseUserAgentStringRequest

NewParseUserAgentStringRequestWithDefaults instantiates a new ParseUserAgentStringRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ParseUserAgentStringRequest) GetUaString

func (o *ParseUserAgentStringRequest) GetUaString() string

GetUaString returns the UaString field value if set, zero value otherwise.

func (*ParseUserAgentStringRequest) GetUaStringOk

func (o *ParseUserAgentStringRequest) GetUaStringOk() (*string, bool)

GetUaStringOk returns a tuple with the UaString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ParseUserAgentStringRequest) HasUaString

func (o *ParseUserAgentStringRequest) HasUaString() bool

HasUaString returns a boolean if a field has been set.

func (ParseUserAgentStringRequest) MarshalJSON

func (o ParseUserAgentStringRequest) MarshalJSON() ([]byte, error)

func (*ParseUserAgentStringRequest) SetUaString

func (o *ParseUserAgentStringRequest) SetUaString(v string)

SetUaString gets a reference to the given string and assigns it to the UaString field.

func (ParseUserAgentStringRequest) ToMap

func (o ParseUserAgentStringRequest) ToMap() (map[string]interface{}, error)

type Security

type Security struct {
	ThreatScore     *int32  `json:"threat_score,omitempty"`
	IsTor           *bool   `json:"is_tor,omitempty"`
	IsProxy         *bool   `json:"is_proxy,omitempty"`
	ProxyType       *string `json:"proxy_type,omitempty"`
	ProxyProvider   *string `json:"proxy_provider,omitempty"`
	IsAnonymous     *bool   `json:"is_anonymous,omitempty"`
	IsKnownAttacker *bool   `json:"is_known_attacker,omitempty"`
	IsSpam          *bool   `json:"is_spam,omitempty"`
	IsBot           *bool   `json:"is_bot,omitempty"`
	IsCloudProvider *bool   `json:"is_cloud_provider,omitempty"`
	CloudProvider   *string `json:"cloud_provider,omitempty"`
}

Security struct for Security

func NewSecurity

func NewSecurity() *Security

NewSecurity instantiates a new Security object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityWithDefaults

func NewSecurityWithDefaults() *Security

NewSecurityWithDefaults instantiates a new Security object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Security) GetCloudProvider

func (o *Security) GetCloudProvider() string

GetCloudProvider returns the CloudProvider field value if set, zero value otherwise.

func (*Security) GetCloudProviderOk

func (o *Security) GetCloudProviderOk() (*string, bool)

GetCloudProviderOk returns a tuple with the CloudProvider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsAnonymous

func (o *Security) GetIsAnonymous() bool

GetIsAnonymous returns the IsAnonymous field value if set, zero value otherwise.

func (*Security) GetIsAnonymousOk

func (o *Security) GetIsAnonymousOk() (*bool, bool)

GetIsAnonymousOk returns a tuple with the IsAnonymous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsBot

func (o *Security) GetIsBot() bool

GetIsBot returns the IsBot field value if set, zero value otherwise.

func (*Security) GetIsBotOk

func (o *Security) GetIsBotOk() (*bool, bool)

GetIsBotOk returns a tuple with the IsBot field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsCloudProvider

func (o *Security) GetIsCloudProvider() bool

GetIsCloudProvider returns the IsCloudProvider field value if set, zero value otherwise.

func (*Security) GetIsCloudProviderOk

func (o *Security) GetIsCloudProviderOk() (*bool, bool)

GetIsCloudProviderOk returns a tuple with the IsCloudProvider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsKnownAttacker

func (o *Security) GetIsKnownAttacker() bool

GetIsKnownAttacker returns the IsKnownAttacker field value if set, zero value otherwise.

func (*Security) GetIsKnownAttackerOk

func (o *Security) GetIsKnownAttackerOk() (*bool, bool)

GetIsKnownAttackerOk returns a tuple with the IsKnownAttacker field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsProxy

func (o *Security) GetIsProxy() bool

GetIsProxy returns the IsProxy field value if set, zero value otherwise.

func (*Security) GetIsProxyOk

func (o *Security) GetIsProxyOk() (*bool, bool)

GetIsProxyOk returns a tuple with the IsProxy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsSpam

func (o *Security) GetIsSpam() bool

GetIsSpam returns the IsSpam field value if set, zero value otherwise.

func (*Security) GetIsSpamOk

func (o *Security) GetIsSpamOk() (*bool, bool)

GetIsSpamOk returns a tuple with the IsSpam field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetIsTor

func (o *Security) GetIsTor() bool

GetIsTor returns the IsTor field value if set, zero value otherwise.

func (*Security) GetIsTorOk

func (o *Security) GetIsTorOk() (*bool, bool)

GetIsTorOk returns a tuple with the IsTor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetProxyProvider

func (o *Security) GetProxyProvider() string

GetProxyProvider returns the ProxyProvider field value if set, zero value otherwise.

func (*Security) GetProxyProviderOk

func (o *Security) GetProxyProviderOk() (*string, bool)

GetProxyProviderOk returns a tuple with the ProxyProvider field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetProxyType

func (o *Security) GetProxyType() string

GetProxyType returns the ProxyType field value if set, zero value otherwise.

func (*Security) GetProxyTypeOk

func (o *Security) GetProxyTypeOk() (*string, bool)

GetProxyTypeOk returns a tuple with the ProxyType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) GetThreatScore

func (o *Security) GetThreatScore() int32

GetThreatScore returns the ThreatScore field value if set, zero value otherwise.

func (*Security) GetThreatScoreOk

func (o *Security) GetThreatScoreOk() (*int32, bool)

GetThreatScoreOk returns a tuple with the ThreatScore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Security) HasCloudProvider

func (o *Security) HasCloudProvider() bool

HasCloudProvider returns a boolean if a field has been set.

func (*Security) HasIsAnonymous

func (o *Security) HasIsAnonymous() bool

HasIsAnonymous returns a boolean if a field has been set.

func (*Security) HasIsBot

func (o *Security) HasIsBot() bool

HasIsBot returns a boolean if a field has been set.

func (*Security) HasIsCloudProvider

func (o *Security) HasIsCloudProvider() bool

HasIsCloudProvider returns a boolean if a field has been set.

func (*Security) HasIsKnownAttacker

func (o *Security) HasIsKnownAttacker() bool

HasIsKnownAttacker returns a boolean if a field has been set.

func (*Security) HasIsProxy

func (o *Security) HasIsProxy() bool

HasIsProxy returns a boolean if a field has been set.

func (*Security) HasIsSpam

func (o *Security) HasIsSpam() bool

HasIsSpam returns a boolean if a field has been set.

func (*Security) HasIsTor

func (o *Security) HasIsTor() bool

HasIsTor returns a boolean if a field has been set.

func (*Security) HasProxyProvider

func (o *Security) HasProxyProvider() bool

HasProxyProvider returns a boolean if a field has been set.

func (*Security) HasProxyType

func (o *Security) HasProxyType() bool

HasProxyType returns a boolean if a field has been set.

func (*Security) HasThreatScore

func (o *Security) HasThreatScore() bool

HasThreatScore returns a boolean if a field has been set.

func (Security) MarshalJSON

func (o Security) MarshalJSON() ([]byte, error)

func (*Security) SetCloudProvider

func (o *Security) SetCloudProvider(v string)

SetCloudProvider gets a reference to the given string and assigns it to the CloudProvider field.

func (*Security) SetIsAnonymous

func (o *Security) SetIsAnonymous(v bool)

SetIsAnonymous gets a reference to the given bool and assigns it to the IsAnonymous field.

func (*Security) SetIsBot

func (o *Security) SetIsBot(v bool)

SetIsBot gets a reference to the given bool and assigns it to the IsBot field.

func (*Security) SetIsCloudProvider

func (o *Security) SetIsCloudProvider(v bool)

SetIsCloudProvider gets a reference to the given bool and assigns it to the IsCloudProvider field.

func (*Security) SetIsKnownAttacker

func (o *Security) SetIsKnownAttacker(v bool)

SetIsKnownAttacker gets a reference to the given bool and assigns it to the IsKnownAttacker field.

func (*Security) SetIsProxy

func (o *Security) SetIsProxy(v bool)

SetIsProxy gets a reference to the given bool and assigns it to the IsProxy field.

func (*Security) SetIsSpam

func (o *Security) SetIsSpam(v bool)

SetIsSpam gets a reference to the given bool and assigns it to the IsSpam field.

func (*Security) SetIsTor

func (o *Security) SetIsTor(v bool)

SetIsTor gets a reference to the given bool and assigns it to the IsTor field.

func (*Security) SetProxyProvider

func (o *Security) SetProxyProvider(v string)

SetProxyProvider gets a reference to the given string and assigns it to the ProxyProvider field.

func (*Security) SetProxyType

func (o *Security) SetProxyType(v string)

SetProxyType gets a reference to the given string and assigns it to the ProxyType field.

func (*Security) SetThreatScore

func (o *Security) SetThreatScore(v int32)

SetThreatScore gets a reference to the given int32 and assigns it to the ThreatScore field.

func (Security) ToMap

func (o Security) ToMap() (map[string]interface{}, error)

type SecurityAPIResponse

type SecurityAPIResponse struct {
	Ip              *string          `json:"ip,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Security        *Security        `json:"security,omitempty"`
	Location        *LocationMinimal `json:"location,omitempty"`
	Network         *NetworkMinimal  `json:"network,omitempty"`
	TimeZone        *TimeZone        `json:"time_zone,omitempty"`
	UserAgent       *UserAgentData   `json:"user_agent,omitempty"`
	CountryMetadata *CountryMetadata `json:"country_metadata,omitempty"`
	Currency        *Currency        `json:"currency,omitempty"`
}

SecurityAPIResponse struct for SecurityAPIResponse

func NewSecurityAPIResponse

func NewSecurityAPIResponse() *SecurityAPIResponse

NewSecurityAPIResponse instantiates a new SecurityAPIResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityAPIResponseWithDefaults

func NewSecurityAPIResponseWithDefaults() *SecurityAPIResponse

NewSecurityAPIResponseWithDefaults instantiates a new SecurityAPIResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityAPIResponse) GetCountryMetadata

func (o *SecurityAPIResponse) GetCountryMetadata() CountryMetadata

GetCountryMetadata returns the CountryMetadata field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetCountryMetadataOk

func (o *SecurityAPIResponse) GetCountryMetadataOk() (*CountryMetadata, bool)

GetCountryMetadataOk returns a tuple with the CountryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetCurrency

func (o *SecurityAPIResponse) GetCurrency() Currency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetCurrencyOk

func (o *SecurityAPIResponse) GetCurrencyOk() (*Currency, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetHostname

func (o *SecurityAPIResponse) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetHostnameOk

func (o *SecurityAPIResponse) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetIp

func (o *SecurityAPIResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetIpOk

func (o *SecurityAPIResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetLocation

func (o *SecurityAPIResponse) GetLocation() LocationMinimal

GetLocation returns the Location field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetLocationOk

func (o *SecurityAPIResponse) GetLocationOk() (*LocationMinimal, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetNetwork

func (o *SecurityAPIResponse) GetNetwork() NetworkMinimal

GetNetwork returns the Network field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetNetworkOk

func (o *SecurityAPIResponse) GetNetworkOk() (*NetworkMinimal, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetSecurity

func (o *SecurityAPIResponse) GetSecurity() Security

GetSecurity returns the Security field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetSecurityOk

func (o *SecurityAPIResponse) GetSecurityOk() (*Security, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetTimeZone

func (o *SecurityAPIResponse) GetTimeZone() TimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetTimeZoneOk

func (o *SecurityAPIResponse) GetTimeZoneOk() (*TimeZone, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) GetUserAgent

func (o *SecurityAPIResponse) GetUserAgent() UserAgentData

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*SecurityAPIResponse) GetUserAgentOk

func (o *SecurityAPIResponse) GetUserAgentOk() (*UserAgentData, bool)

GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIResponse) HasCountryMetadata

func (o *SecurityAPIResponse) HasCountryMetadata() bool

HasCountryMetadata returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasCurrency

func (o *SecurityAPIResponse) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasHostname

func (o *SecurityAPIResponse) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasIp

func (o *SecurityAPIResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasLocation

func (o *SecurityAPIResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasNetwork

func (o *SecurityAPIResponse) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasSecurity

func (o *SecurityAPIResponse) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasTimeZone

func (o *SecurityAPIResponse) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*SecurityAPIResponse) HasUserAgent

func (o *SecurityAPIResponse) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (SecurityAPIResponse) MarshalJSON

func (o SecurityAPIResponse) MarshalJSON() ([]byte, error)

func (*SecurityAPIResponse) SetCountryMetadata

func (o *SecurityAPIResponse) SetCountryMetadata(v CountryMetadata)

SetCountryMetadata gets a reference to the given CountryMetadata and assigns it to the CountryMetadata field.

func (*SecurityAPIResponse) SetCurrency

func (o *SecurityAPIResponse) SetCurrency(v Currency)

SetCurrency gets a reference to the given Currency and assigns it to the Currency field.

func (*SecurityAPIResponse) SetHostname

func (o *SecurityAPIResponse) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*SecurityAPIResponse) SetIp

func (o *SecurityAPIResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*SecurityAPIResponse) SetLocation

func (o *SecurityAPIResponse) SetLocation(v LocationMinimal)

SetLocation gets a reference to the given LocationMinimal and assigns it to the Location field.

func (*SecurityAPIResponse) SetNetwork

func (o *SecurityAPIResponse) SetNetwork(v NetworkMinimal)

SetNetwork gets a reference to the given NetworkMinimal and assigns it to the Network field.

func (*SecurityAPIResponse) SetSecurity

func (o *SecurityAPIResponse) SetSecurity(v Security)

SetSecurity gets a reference to the given Security and assigns it to the Security field.

func (*SecurityAPIResponse) SetTimeZone

func (o *SecurityAPIResponse) SetTimeZone(v TimeZone)

SetTimeZone gets a reference to the given TimeZone and assigns it to the TimeZone field.

func (*SecurityAPIResponse) SetUserAgent

func (o *SecurityAPIResponse) SetUserAgent(v UserAgentData)

SetUserAgent gets a reference to the given UserAgentData and assigns it to the UserAgent field.

func (SecurityAPIResponse) ToMap

func (o SecurityAPIResponse) ToMap() (map[string]interface{}, error)

type SecurityAPIService

type SecurityAPIService service

SecurityAPIService SecurityAPI service

func (*SecurityAPIService) GetBulkIpSecurityInfo

func (a *SecurityAPIService) GetBulkIpSecurityInfo(ctx context.Context) ApiGetBulkIpSecurityInfoRequest

GetBulkIpSecurityInfo Method for GetBulkIpSecurityInfo

The Bulk IP Security Lookup API can provide security details for up to `50,000` bulk IPs. This API also has parameters to customize the response, just like the single IP Security Lookup API.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetBulkIpSecurityInfoRequest

func (*SecurityAPIService) GetBulkIpSecurityInfoExecute

func (a *SecurityAPIService) GetBulkIpSecurityInfoExecute(r ApiGetBulkIpSecurityInfoRequest) ([]BulkIpSecurity, *http.Response, error)

Execute executes the request

@return []GetBulkIpSecurityInfo200ResponseInner

func (*SecurityAPIService) GetIpSecurityInfo

GetIpSecurityInfo Method for GetIpSecurityInfo

IP Security API provides security details of a given IP. It detects whether the IP is proxy, tor or bot. It also shows the proxy types of the IP (like VPN, PROXY, RELAY etc.) with it's VPN/proxy service provider making our API powerful VPN checker. It finds the IPs that are involved in spam activities. It also checks whether the IP links to a cloud provider and includes the provider's name.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetIpSecurityInfoRequest

func (*SecurityAPIService) GetIpSecurityInfoExecute

Execute executes the request

@return SecurityAPIResponse

type SecurityAPIXMLResponse

type SecurityAPIXMLResponse struct {
	Ip              *string          `json:"ip,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Security        *Security        `json:"security,omitempty"`
	Location        *LocationMinimal `json:"location,omitempty"`
	Network         *NetworkMinimal  `json:"network,omitempty"`
	TimeZone        *TimeZone        `json:"time_zone,omitempty"`
	UserAgent       *UserAgentData   `json:"user_agent,omitempty"`
	CountryMetadata *CountryMetadata `json:"country_metadata,omitempty"`
	Currency        *Currency        `json:"currency,omitempty"`
}

SecurityAPIXMLResponse struct for SecurityAPIXMLResponse

func NewSecurityAPIXMLResponse

func NewSecurityAPIXMLResponse() *SecurityAPIXMLResponse

NewSecurityAPIXMLResponse instantiates a new SecurityAPIXMLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityAPIXMLResponseWithDefaults

func NewSecurityAPIXMLResponseWithDefaults() *SecurityAPIXMLResponse

NewSecurityAPIXMLResponseWithDefaults instantiates a new SecurityAPIXMLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityAPIXMLResponse) GetCountryMetadata

func (o *SecurityAPIXMLResponse) GetCountryMetadata() CountryMetadata

GetCountryMetadata returns the CountryMetadata field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetCountryMetadataOk

func (o *SecurityAPIXMLResponse) GetCountryMetadataOk() (*CountryMetadata, bool)

GetCountryMetadataOk returns a tuple with the CountryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetCurrency

func (o *SecurityAPIXMLResponse) GetCurrency() Currency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetCurrencyOk

func (o *SecurityAPIXMLResponse) GetCurrencyOk() (*Currency, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetHostname

func (o *SecurityAPIXMLResponse) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetHostnameOk

func (o *SecurityAPIXMLResponse) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetIp

func (o *SecurityAPIXMLResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetIpOk

func (o *SecurityAPIXMLResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetLocation

func (o *SecurityAPIXMLResponse) GetLocation() LocationMinimal

GetLocation returns the Location field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetLocationOk

func (o *SecurityAPIXMLResponse) GetLocationOk() (*LocationMinimal, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetNetwork

func (o *SecurityAPIXMLResponse) GetNetwork() NetworkMinimal

GetNetwork returns the Network field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetNetworkOk

func (o *SecurityAPIXMLResponse) GetNetworkOk() (*NetworkMinimal, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetSecurity

func (o *SecurityAPIXMLResponse) GetSecurity() Security

GetSecurity returns the Security field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetSecurityOk

func (o *SecurityAPIXMLResponse) GetSecurityOk() (*Security, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetTimeZone

func (o *SecurityAPIXMLResponse) GetTimeZone() TimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetTimeZoneOk

func (o *SecurityAPIXMLResponse) GetTimeZoneOk() (*TimeZone, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) GetUserAgent

func (o *SecurityAPIXMLResponse) GetUserAgent() UserAgentData

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*SecurityAPIXMLResponse) GetUserAgentOk

func (o *SecurityAPIXMLResponse) GetUserAgentOk() (*UserAgentData, bool)

GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponse) HasCountryMetadata

func (o *SecurityAPIXMLResponse) HasCountryMetadata() bool

HasCountryMetadata returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasCurrency

func (o *SecurityAPIXMLResponse) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasHostname

func (o *SecurityAPIXMLResponse) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasIp

func (o *SecurityAPIXMLResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasLocation

func (o *SecurityAPIXMLResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasNetwork

func (o *SecurityAPIXMLResponse) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasSecurity

func (o *SecurityAPIXMLResponse) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasTimeZone

func (o *SecurityAPIXMLResponse) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*SecurityAPIXMLResponse) HasUserAgent

func (o *SecurityAPIXMLResponse) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (SecurityAPIXMLResponse) MarshalJSON

func (o SecurityAPIXMLResponse) MarshalJSON() ([]byte, error)

func (*SecurityAPIXMLResponse) SetCountryMetadata

func (o *SecurityAPIXMLResponse) SetCountryMetadata(v CountryMetadata)

SetCountryMetadata gets a reference to the given CountryMetadata and assigns it to the CountryMetadata field.

func (*SecurityAPIXMLResponse) SetCurrency

func (o *SecurityAPIXMLResponse) SetCurrency(v Currency)

SetCurrency gets a reference to the given Currency and assigns it to the Currency field.

func (*SecurityAPIXMLResponse) SetHostname

func (o *SecurityAPIXMLResponse) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*SecurityAPIXMLResponse) SetIp

func (o *SecurityAPIXMLResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*SecurityAPIXMLResponse) SetLocation

func (o *SecurityAPIXMLResponse) SetLocation(v LocationMinimal)

SetLocation gets a reference to the given LocationMinimal and assigns it to the Location field.

func (*SecurityAPIXMLResponse) SetNetwork

func (o *SecurityAPIXMLResponse) SetNetwork(v NetworkMinimal)

SetNetwork gets a reference to the given NetworkMinimal and assigns it to the Network field.

func (*SecurityAPIXMLResponse) SetSecurity

func (o *SecurityAPIXMLResponse) SetSecurity(v Security)

SetSecurity gets a reference to the given Security and assigns it to the Security field.

func (*SecurityAPIXMLResponse) SetTimeZone

func (o *SecurityAPIXMLResponse) SetTimeZone(v TimeZone)

SetTimeZone gets a reference to the given TimeZone and assigns it to the TimeZone field.

func (*SecurityAPIXMLResponse) SetUserAgent

func (o *SecurityAPIXMLResponse) SetUserAgent(v UserAgentData)

SetUserAgent gets a reference to the given UserAgentData and assigns it to the UserAgent field.

func (SecurityAPIXMLResponse) ToMap

func (o SecurityAPIXMLResponse) ToMap() (map[string]interface{}, error)

type SecurityAPIXMLResponseArray

type SecurityAPIXMLResponseArray struct {
	Ip              *string          `json:"ip,omitempty"`
	Hostname        *string          `json:"hostname,omitempty"`
	Security        *Security        `json:"security,omitempty"`
	Location        *LocationMinimal `json:"location,omitempty"`
	Network         *NetworkMinimal  `json:"network,omitempty"`
	TimeZone        *TimeZone        `json:"time_zone,omitempty"`
	UserAgent       *UserAgentData   `json:"user_agent,omitempty"`
	CountryMetadata *CountryMetadata `json:"country_metadata,omitempty"`
	Currency        *Currency        `json:"currency,omitempty"`
}

SecurityAPIXMLResponseArray struct for SecurityAPIXMLResponseArray

func NewSecurityAPIXMLResponseArray

func NewSecurityAPIXMLResponseArray() *SecurityAPIXMLResponseArray

NewSecurityAPIXMLResponseArray instantiates a new SecurityAPIXMLResponseArray object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSecurityAPIXMLResponseArrayWithDefaults

func NewSecurityAPIXMLResponseArrayWithDefaults() *SecurityAPIXMLResponseArray

NewSecurityAPIXMLResponseArrayWithDefaults instantiates a new SecurityAPIXMLResponseArray object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SecurityAPIXMLResponseArray) GetCountryMetadata

func (o *SecurityAPIXMLResponseArray) GetCountryMetadata() CountryMetadata

GetCountryMetadata returns the CountryMetadata field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetCountryMetadataOk

func (o *SecurityAPIXMLResponseArray) GetCountryMetadataOk() (*CountryMetadata, bool)

GetCountryMetadataOk returns a tuple with the CountryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetCurrency

func (o *SecurityAPIXMLResponseArray) GetCurrency() Currency

GetCurrency returns the Currency field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetCurrencyOk

func (o *SecurityAPIXMLResponseArray) GetCurrencyOk() (*Currency, bool)

GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetHostname

func (o *SecurityAPIXMLResponseArray) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetHostnameOk

func (o *SecurityAPIXMLResponseArray) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetIp

GetIp returns the Ip field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetIpOk

func (o *SecurityAPIXMLResponseArray) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetLocationOk

func (o *SecurityAPIXMLResponseArray) GetLocationOk() (*LocationMinimal, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetNetwork

GetNetwork returns the Network field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetNetworkOk

func (o *SecurityAPIXMLResponseArray) GetNetworkOk() (*NetworkMinimal, bool)

GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetSecurity

func (o *SecurityAPIXMLResponseArray) GetSecurity() Security

GetSecurity returns the Security field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetSecurityOk

func (o *SecurityAPIXMLResponseArray) GetSecurityOk() (*Security, bool)

GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetTimeZone

func (o *SecurityAPIXMLResponseArray) GetTimeZone() TimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetTimeZoneOk

func (o *SecurityAPIXMLResponseArray) GetTimeZoneOk() (*TimeZone, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) GetUserAgent

func (o *SecurityAPIXMLResponseArray) GetUserAgent() UserAgentData

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*SecurityAPIXMLResponseArray) GetUserAgentOk

func (o *SecurityAPIXMLResponseArray) GetUserAgentOk() (*UserAgentData, bool)

GetUserAgentOk returns a tuple with the UserAgent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecurityAPIXMLResponseArray) HasCountryMetadata

func (o *SecurityAPIXMLResponseArray) HasCountryMetadata() bool

HasCountryMetadata returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasCurrency

func (o *SecurityAPIXMLResponseArray) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasHostname

func (o *SecurityAPIXMLResponseArray) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasIp

func (o *SecurityAPIXMLResponseArray) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasLocation

func (o *SecurityAPIXMLResponseArray) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasNetwork

func (o *SecurityAPIXMLResponseArray) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasSecurity

func (o *SecurityAPIXMLResponseArray) HasSecurity() bool

HasSecurity returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasTimeZone

func (o *SecurityAPIXMLResponseArray) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (*SecurityAPIXMLResponseArray) HasUserAgent

func (o *SecurityAPIXMLResponseArray) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (SecurityAPIXMLResponseArray) MarshalJSON

func (o SecurityAPIXMLResponseArray) MarshalJSON() ([]byte, error)

func (*SecurityAPIXMLResponseArray) SetCountryMetadata

func (o *SecurityAPIXMLResponseArray) SetCountryMetadata(v CountryMetadata)

SetCountryMetadata gets a reference to the given CountryMetadata and assigns it to the CountryMetadata field.

func (*SecurityAPIXMLResponseArray) SetCurrency

func (o *SecurityAPIXMLResponseArray) SetCurrency(v Currency)

SetCurrency gets a reference to the given Currency and assigns it to the Currency field.

func (*SecurityAPIXMLResponseArray) SetHostname

func (o *SecurityAPIXMLResponseArray) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*SecurityAPIXMLResponseArray) SetIp

func (o *SecurityAPIXMLResponseArray) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*SecurityAPIXMLResponseArray) SetLocation

func (o *SecurityAPIXMLResponseArray) SetLocation(v LocationMinimal)

SetLocation gets a reference to the given LocationMinimal and assigns it to the Location field.

func (*SecurityAPIXMLResponseArray) SetNetwork

SetNetwork gets a reference to the given NetworkMinimal and assigns it to the Network field.

func (*SecurityAPIXMLResponseArray) SetSecurity

func (o *SecurityAPIXMLResponseArray) SetSecurity(v Security)

SetSecurity gets a reference to the given Security and assigns it to the Security field.

func (*SecurityAPIXMLResponseArray) SetTimeZone

func (o *SecurityAPIXMLResponseArray) SetTimeZone(v TimeZone)

SetTimeZone gets a reference to the given TimeZone and assigns it to the TimeZone field.

func (*SecurityAPIXMLResponseArray) SetUserAgent

func (o *SecurityAPIXMLResponseArray) SetUserAgent(v UserAgentData)

SetUserAgent gets a reference to the given UserAgentData and assigns it to the UserAgent field.

func (SecurityAPIXMLResponseArray) ToMap

func (o SecurityAPIXMLResponseArray) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TimeConversionAPI

type TimeConversionAPI interface {

	/*
		ConvertTimeBetweenTimezones Method for ConvertTimeBetweenTimezones

		You can convert a timestamp provided as a query paramter time from one time zone to another time zone.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiConvertTimeBetweenTimezonesRequest
	*/
	ConvertTimeBetweenTimezones(ctx context.Context) ApiConvertTimeBetweenTimezonesRequest

	// ConvertTimeBetweenTimezonesExecute executes the request
	//  @return TimeConversionResponse
	ConvertTimeBetweenTimezonesExecute(r ApiConvertTimeBetweenTimezonesRequest) (*TimeConversionResponse, *http.Response, error)
}

type TimeConversionAPIService

type TimeConversionAPIService service

TimeConversionAPIService TimeConversionAPI service

func (*TimeConversionAPIService) ConvertTimeBetweenTimezones

ConvertTimeBetweenTimezones Method for ConvertTimeBetweenTimezones

You can convert a timestamp provided as a query paramter time from one time zone to another time zone.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiConvertTimeBetweenTimezonesRequest

func (*TimeConversionAPIService) ConvertTimeBetweenTimezonesExecute

Execute executes the request

@return TimeConversionResponse

type TimeConversionResponse

type TimeConversionResponse struct {
	OriginalTime  *string  `json:"original_time,omitempty"`
	ConvertedTime *string  `json:"converted_time,omitempty"`
	DiffHour      *float32 `json:"diff_hour,omitempty"`
	DiffMin       *int32   `json:"diff_min,omitempty"`
}

TimeConversionResponse struct for TimeConversionResponse

func NewTimeConversionResponse

func NewTimeConversionResponse() *TimeConversionResponse

NewTimeConversionResponse instantiates a new TimeConversionResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeConversionResponseWithDefaults

func NewTimeConversionResponseWithDefaults() *TimeConversionResponse

NewTimeConversionResponseWithDefaults instantiates a new TimeConversionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeConversionResponse) GetConvertedTime

func (o *TimeConversionResponse) GetConvertedTime() string

GetConvertedTime returns the ConvertedTime field value if set, zero value otherwise.

func (*TimeConversionResponse) GetConvertedTimeOk

func (o *TimeConversionResponse) GetConvertedTimeOk() (*string, bool)

GetConvertedTimeOk returns a tuple with the ConvertedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionResponse) GetDiffHour

func (o *TimeConversionResponse) GetDiffHour() float32

GetDiffHour returns the DiffHour field value if set, zero value otherwise.

func (*TimeConversionResponse) GetDiffHourOk

func (o *TimeConversionResponse) GetDiffHourOk() (*float32, bool)

GetDiffHourOk returns a tuple with the DiffHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionResponse) GetDiffMin

func (o *TimeConversionResponse) GetDiffMin() int32

GetDiffMin returns the DiffMin field value if set, zero value otherwise.

func (*TimeConversionResponse) GetDiffMinOk

func (o *TimeConversionResponse) GetDiffMinOk() (*int32, bool)

GetDiffMinOk returns a tuple with the DiffMin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionResponse) GetOriginalTime

func (o *TimeConversionResponse) GetOriginalTime() string

GetOriginalTime returns the OriginalTime field value if set, zero value otherwise.

func (*TimeConversionResponse) GetOriginalTimeOk

func (o *TimeConversionResponse) GetOriginalTimeOk() (*string, bool)

GetOriginalTimeOk returns a tuple with the OriginalTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionResponse) HasConvertedTime

func (o *TimeConversionResponse) HasConvertedTime() bool

HasConvertedTime returns a boolean if a field has been set.

func (*TimeConversionResponse) HasDiffHour

func (o *TimeConversionResponse) HasDiffHour() bool

HasDiffHour returns a boolean if a field has been set.

func (*TimeConversionResponse) HasDiffMin

func (o *TimeConversionResponse) HasDiffMin() bool

HasDiffMin returns a boolean if a field has been set.

func (*TimeConversionResponse) HasOriginalTime

func (o *TimeConversionResponse) HasOriginalTime() bool

HasOriginalTime returns a boolean if a field has been set.

func (TimeConversionResponse) MarshalJSON

func (o TimeConversionResponse) MarshalJSON() ([]byte, error)

func (*TimeConversionResponse) SetConvertedTime

func (o *TimeConversionResponse) SetConvertedTime(v string)

SetConvertedTime gets a reference to the given string and assigns it to the ConvertedTime field.

func (*TimeConversionResponse) SetDiffHour

func (o *TimeConversionResponse) SetDiffHour(v float32)

SetDiffHour gets a reference to the given float32 and assigns it to the DiffHour field.

func (*TimeConversionResponse) SetDiffMin

func (o *TimeConversionResponse) SetDiffMin(v int32)

SetDiffMin gets a reference to the given int32 and assigns it to the DiffMin field.

func (*TimeConversionResponse) SetOriginalTime

func (o *TimeConversionResponse) SetOriginalTime(v string)

SetOriginalTime gets a reference to the given string and assigns it to the OriginalTime field.

func (TimeConversionResponse) ToMap

func (o TimeConversionResponse) ToMap() (map[string]interface{}, error)

type TimeConversionXMLResponse

type TimeConversionXMLResponse struct {
	OriginalTime  *string  `json:"original_time,omitempty"`
	ConvertedTime *string  `json:"converted_time,omitempty"`
	DiffHour      *float32 `json:"diff_hour,omitempty"`
	DiffMin       *int32   `json:"diff_min,omitempty"`
}

TimeConversionXMLResponse struct for TimeConversionXMLResponse

func NewTimeConversionXMLResponse

func NewTimeConversionXMLResponse() *TimeConversionXMLResponse

NewTimeConversionXMLResponse instantiates a new TimeConversionXMLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeConversionXMLResponseWithDefaults

func NewTimeConversionXMLResponseWithDefaults() *TimeConversionXMLResponse

NewTimeConversionXMLResponseWithDefaults instantiates a new TimeConversionXMLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeConversionXMLResponse) GetConvertedTime

func (o *TimeConversionXMLResponse) GetConvertedTime() string

GetConvertedTime returns the ConvertedTime field value if set, zero value otherwise.

func (*TimeConversionXMLResponse) GetConvertedTimeOk

func (o *TimeConversionXMLResponse) GetConvertedTimeOk() (*string, bool)

GetConvertedTimeOk returns a tuple with the ConvertedTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionXMLResponse) GetDiffHour

func (o *TimeConversionXMLResponse) GetDiffHour() float32

GetDiffHour returns the DiffHour field value if set, zero value otherwise.

func (*TimeConversionXMLResponse) GetDiffHourOk

func (o *TimeConversionXMLResponse) GetDiffHourOk() (*float32, bool)

GetDiffHourOk returns a tuple with the DiffHour field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionXMLResponse) GetDiffMin

func (o *TimeConversionXMLResponse) GetDiffMin() int32

GetDiffMin returns the DiffMin field value if set, zero value otherwise.

func (*TimeConversionXMLResponse) GetDiffMinOk

func (o *TimeConversionXMLResponse) GetDiffMinOk() (*int32, bool)

GetDiffMinOk returns a tuple with the DiffMin field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionXMLResponse) GetOriginalTime

func (o *TimeConversionXMLResponse) GetOriginalTime() string

GetOriginalTime returns the OriginalTime field value if set, zero value otherwise.

func (*TimeConversionXMLResponse) GetOriginalTimeOk

func (o *TimeConversionXMLResponse) GetOriginalTimeOk() (*string, bool)

GetOriginalTimeOk returns a tuple with the OriginalTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeConversionXMLResponse) HasConvertedTime

func (o *TimeConversionXMLResponse) HasConvertedTime() bool

HasConvertedTime returns a boolean if a field has been set.

func (*TimeConversionXMLResponse) HasDiffHour

func (o *TimeConversionXMLResponse) HasDiffHour() bool

HasDiffHour returns a boolean if a field has been set.

func (*TimeConversionXMLResponse) HasDiffMin

func (o *TimeConversionXMLResponse) HasDiffMin() bool

HasDiffMin returns a boolean if a field has been set.

func (*TimeConversionXMLResponse) HasOriginalTime

func (o *TimeConversionXMLResponse) HasOriginalTime() bool

HasOriginalTime returns a boolean if a field has been set.

func (TimeConversionXMLResponse) MarshalJSON

func (o TimeConversionXMLResponse) MarshalJSON() ([]byte, error)

func (*TimeConversionXMLResponse) SetConvertedTime

func (o *TimeConversionXMLResponse) SetConvertedTime(v string)

SetConvertedTime gets a reference to the given string and assigns it to the ConvertedTime field.

func (*TimeConversionXMLResponse) SetDiffHour

func (o *TimeConversionXMLResponse) SetDiffHour(v float32)

SetDiffHour gets a reference to the given float32 and assigns it to the DiffHour field.

func (*TimeConversionXMLResponse) SetDiffMin

func (o *TimeConversionXMLResponse) SetDiffMin(v int32)

SetDiffMin gets a reference to the given int32 and assigns it to the DiffMin field.

func (*TimeConversionXMLResponse) SetOriginalTime

func (o *TimeConversionXMLResponse) SetOriginalTime(v string)

SetOriginalTime gets a reference to the given string and assigns it to the OriginalTime field.

func (TimeConversionXMLResponse) ToMap

func (o TimeConversionXMLResponse) ToMap() (map[string]interface{}, error)

type TimeZone

type TimeZone struct {
	Name            *string           `json:"name,omitempty"`
	Offset          *int32            `json:"offset,omitempty"`
	OffsetWithDst   *int32            `json:"offset_with_dst,omitempty"`
	CurrentTime     *string           `json:"current_time,omitempty"`
	CurrentTimeUnix *float32          `json:"current_time_unix,omitempty"`
	IsDst           *bool             `json:"is_dst,omitempty"`
	DstSavings      *int32            `json:"dst_savings,omitempty"`
	DstExists       *bool             `json:"dst_exists,omitempty"`
	DstStart        *TimeZoneDstStart `json:"dst_start,omitempty"`
	DstEnd          *TimeZoneDstEnd   `json:"dst_end,omitempty"`
}

TimeZone struct for TimeZone

func NewTimeZone

func NewTimeZone() *TimeZone

NewTimeZone instantiates a new TimeZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeZoneWithDefaults

func NewTimeZoneWithDefaults() *TimeZone

NewTimeZoneWithDefaults instantiates a new TimeZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeZone) GetCurrentTime

func (o *TimeZone) GetCurrentTime() string

GetCurrentTime returns the CurrentTime field value if set, zero value otherwise.

func (*TimeZone) GetCurrentTimeOk

func (o *TimeZone) GetCurrentTimeOk() (*string, bool)

GetCurrentTimeOk returns a tuple with the CurrentTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetCurrentTimeUnix

func (o *TimeZone) GetCurrentTimeUnix() float32

GetCurrentTimeUnix returns the CurrentTimeUnix field value if set, zero value otherwise.

func (*TimeZone) GetCurrentTimeUnixOk

func (o *TimeZone) GetCurrentTimeUnixOk() (*float32, bool)

GetCurrentTimeUnixOk returns a tuple with the CurrentTimeUnix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetDstEnd

func (o *TimeZone) GetDstEnd() TimeZoneDstEnd

GetDstEnd returns the DstEnd field value if set, zero value otherwise.

func (*TimeZone) GetDstEndOk

func (o *TimeZone) GetDstEndOk() (*TimeZoneDstEnd, bool)

GetDstEndOk returns a tuple with the DstEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetDstExists

func (o *TimeZone) GetDstExists() bool

GetDstExists returns the DstExists field value if set, zero value otherwise.

func (*TimeZone) GetDstExistsOk

func (o *TimeZone) GetDstExistsOk() (*bool, bool)

GetDstExistsOk returns a tuple with the DstExists field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetDstSavings

func (o *TimeZone) GetDstSavings() int32

GetDstSavings returns the DstSavings field value if set, zero value otherwise.

func (*TimeZone) GetDstSavingsOk

func (o *TimeZone) GetDstSavingsOk() (*int32, bool)

GetDstSavingsOk returns a tuple with the DstSavings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetDstStart

func (o *TimeZone) GetDstStart() TimeZoneDstStart

GetDstStart returns the DstStart field value if set, zero value otherwise.

func (*TimeZone) GetDstStartOk

func (o *TimeZone) GetDstStartOk() (*TimeZoneDstStart, bool)

GetDstStartOk returns a tuple with the DstStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetIsDst

func (o *TimeZone) GetIsDst() bool

GetIsDst returns the IsDst field value if set, zero value otherwise.

func (*TimeZone) GetIsDstOk

func (o *TimeZone) GetIsDstOk() (*bool, bool)

GetIsDstOk returns a tuple with the IsDst field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetName

func (o *TimeZone) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TimeZone) GetNameOk

func (o *TimeZone) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetOffset

func (o *TimeZone) GetOffset() int32

GetOffset returns the Offset field value if set, zero value otherwise.

func (*TimeZone) GetOffsetOk

func (o *TimeZone) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) GetOffsetWithDst

func (o *TimeZone) GetOffsetWithDst() int32

GetOffsetWithDst returns the OffsetWithDst field value if set, zero value otherwise.

func (*TimeZone) GetOffsetWithDstOk

func (o *TimeZone) GetOffsetWithDstOk() (*int32, bool)

GetOffsetWithDstOk returns a tuple with the OffsetWithDst field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZone) HasCurrentTime

func (o *TimeZone) HasCurrentTime() bool

HasCurrentTime returns a boolean if a field has been set.

func (*TimeZone) HasCurrentTimeUnix

func (o *TimeZone) HasCurrentTimeUnix() bool

HasCurrentTimeUnix returns a boolean if a field has been set.

func (*TimeZone) HasDstEnd

func (o *TimeZone) HasDstEnd() bool

HasDstEnd returns a boolean if a field has been set.

func (*TimeZone) HasDstExists

func (o *TimeZone) HasDstExists() bool

HasDstExists returns a boolean if a field has been set.

func (*TimeZone) HasDstSavings

func (o *TimeZone) HasDstSavings() bool

HasDstSavings returns a boolean if a field has been set.

func (*TimeZone) HasDstStart

func (o *TimeZone) HasDstStart() bool

HasDstStart returns a boolean if a field has been set.

func (*TimeZone) HasIsDst

func (o *TimeZone) HasIsDst() bool

HasIsDst returns a boolean if a field has been set.

func (*TimeZone) HasName

func (o *TimeZone) HasName() bool

HasName returns a boolean if a field has been set.

func (*TimeZone) HasOffset

func (o *TimeZone) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*TimeZone) HasOffsetWithDst

func (o *TimeZone) HasOffsetWithDst() bool

HasOffsetWithDst returns a boolean if a field has been set.

func (TimeZone) MarshalJSON

func (o TimeZone) MarshalJSON() ([]byte, error)

func (*TimeZone) SetCurrentTime

func (o *TimeZone) SetCurrentTime(v string)

SetCurrentTime gets a reference to the given string and assigns it to the CurrentTime field.

func (*TimeZone) SetCurrentTimeUnix

func (o *TimeZone) SetCurrentTimeUnix(v float32)

SetCurrentTimeUnix gets a reference to the given float32 and assigns it to the CurrentTimeUnix field.

func (*TimeZone) SetDstEnd

func (o *TimeZone) SetDstEnd(v TimeZoneDstEnd)

SetDstEnd gets a reference to the given TimeZoneDstEnd and assigns it to the DstEnd field.

func (*TimeZone) SetDstExists

func (o *TimeZone) SetDstExists(v bool)

SetDstExists gets a reference to the given bool and assigns it to the DstExists field.

func (*TimeZone) SetDstSavings

func (o *TimeZone) SetDstSavings(v int32)

SetDstSavings gets a reference to the given int32 and assigns it to the DstSavings field.

func (*TimeZone) SetDstStart

func (o *TimeZone) SetDstStart(v TimeZoneDstStart)

SetDstStart gets a reference to the given TimeZoneDstStart and assigns it to the DstStart field.

func (*TimeZone) SetIsDst

func (o *TimeZone) SetIsDst(v bool)

SetIsDst gets a reference to the given bool and assigns it to the IsDst field.

func (*TimeZone) SetName

func (o *TimeZone) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TimeZone) SetOffset

func (o *TimeZone) SetOffset(v int32)

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*TimeZone) SetOffsetWithDst

func (o *TimeZone) SetOffsetWithDst(v int32)

SetOffsetWithDst gets a reference to the given int32 and assigns it to the OffsetWithDst field.

func (TimeZone) ToMap

func (o TimeZone) ToMap() (map[string]interface{}, error)

type TimeZoneDetailedResponse

type TimeZoneDetailedResponse struct {
	Ip             *string           `json:"ip,omitempty"`
	AirportDetails *TimezoneAirport  `json:"airport_details,omitempty"`
	LoCodeDetails  *TimezoneLocode   `json:"lo_code_details,omitempty"`
	Location       *TimezoneLocation `json:"location,omitempty"`
	TimeZone       *TimezoneDetail   `json:"time_zone,omitempty"`
}

TimeZoneDetailedResponse struct for TimeZoneDetailedResponse

func NewTimeZoneDetailedResponse

func NewTimeZoneDetailedResponse() *TimeZoneDetailedResponse

NewTimeZoneDetailedResponse instantiates a new TimeZoneDetailedResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeZoneDetailedResponseWithDefaults

func NewTimeZoneDetailedResponseWithDefaults() *TimeZoneDetailedResponse

NewTimeZoneDetailedResponseWithDefaults instantiates a new TimeZoneDetailedResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeZoneDetailedResponse) GetAirportDetails

func (o *TimeZoneDetailedResponse) GetAirportDetails() TimezoneAirport

GetAirportDetails returns the AirportDetails field value if set, zero value otherwise.

func (*TimeZoneDetailedResponse) GetAirportDetailsOk

func (o *TimeZoneDetailedResponse) GetAirportDetailsOk() (*TimezoneAirport, bool)

GetAirportDetailsOk returns a tuple with the AirportDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedResponse) GetIp

func (o *TimeZoneDetailedResponse) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*TimeZoneDetailedResponse) GetIpOk

func (o *TimeZoneDetailedResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedResponse) GetLoCodeDetails

func (o *TimeZoneDetailedResponse) GetLoCodeDetails() TimezoneLocode

GetLoCodeDetails returns the LoCodeDetails field value if set, zero value otherwise.

func (*TimeZoneDetailedResponse) GetLoCodeDetailsOk

func (o *TimeZoneDetailedResponse) GetLoCodeDetailsOk() (*TimezoneLocode, bool)

GetLoCodeDetailsOk returns a tuple with the LoCodeDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedResponse) GetLocation

func (o *TimeZoneDetailedResponse) GetLocation() TimezoneLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*TimeZoneDetailedResponse) GetLocationOk

func (o *TimeZoneDetailedResponse) GetLocationOk() (*TimezoneLocation, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedResponse) GetTimeZone

func (o *TimeZoneDetailedResponse) GetTimeZone() TimezoneDetail

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*TimeZoneDetailedResponse) GetTimeZoneOk

func (o *TimeZoneDetailedResponse) GetTimeZoneOk() (*TimezoneDetail, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedResponse) HasAirportDetails

func (o *TimeZoneDetailedResponse) HasAirportDetails() bool

HasAirportDetails returns a boolean if a field has been set.

func (*TimeZoneDetailedResponse) HasIp

func (o *TimeZoneDetailedResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*TimeZoneDetailedResponse) HasLoCodeDetails

func (o *TimeZoneDetailedResponse) HasLoCodeDetails() bool

HasLoCodeDetails returns a boolean if a field has been set.

func (*TimeZoneDetailedResponse) HasLocation

func (o *TimeZoneDetailedResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*TimeZoneDetailedResponse) HasTimeZone

func (o *TimeZoneDetailedResponse) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (TimeZoneDetailedResponse) MarshalJSON

func (o TimeZoneDetailedResponse) MarshalJSON() ([]byte, error)

func (*TimeZoneDetailedResponse) SetAirportDetails

func (o *TimeZoneDetailedResponse) SetAirportDetails(v TimezoneAirport)

SetAirportDetails gets a reference to the given TimezoneAirport and assigns it to the AirportDetails field.

func (*TimeZoneDetailedResponse) SetIp

func (o *TimeZoneDetailedResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*TimeZoneDetailedResponse) SetLoCodeDetails

func (o *TimeZoneDetailedResponse) SetLoCodeDetails(v TimezoneLocode)

SetLoCodeDetails gets a reference to the given TimezoneLocode and assigns it to the LoCodeDetails field.

func (*TimeZoneDetailedResponse) SetLocation

func (o *TimeZoneDetailedResponse) SetLocation(v TimezoneLocation)

SetLocation gets a reference to the given TimezoneLocation and assigns it to the Location field.

func (*TimeZoneDetailedResponse) SetTimeZone

func (o *TimeZoneDetailedResponse) SetTimeZone(v TimezoneDetail)

SetTimeZone gets a reference to the given TimezoneDetail and assigns it to the TimeZone field.

func (TimeZoneDetailedResponse) ToMap

func (o TimeZoneDetailedResponse) ToMap() (map[string]interface{}, error)

type TimeZoneDetailedXMLResponse

type TimeZoneDetailedXMLResponse struct {
	Ip             *string           `json:"ip,omitempty"`
	AirportDetails *TimezoneAirport  `json:"airport_details,omitempty"`
	LoCodeDetails  *TimezoneLocode   `json:"lo_code_details,omitempty"`
	Location       *TimezoneLocation `json:"location,omitempty"`
	TimeZone       *TimezoneDetail   `json:"time_zone,omitempty"`
}

TimeZoneDetailedXMLResponse struct for TimeZoneDetailedXMLResponse

func NewTimeZoneDetailedXMLResponse

func NewTimeZoneDetailedXMLResponse() *TimeZoneDetailedXMLResponse

NewTimeZoneDetailedXMLResponse instantiates a new TimeZoneDetailedXMLResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeZoneDetailedXMLResponseWithDefaults

func NewTimeZoneDetailedXMLResponseWithDefaults() *TimeZoneDetailedXMLResponse

NewTimeZoneDetailedXMLResponseWithDefaults instantiates a new TimeZoneDetailedXMLResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeZoneDetailedXMLResponse) GetAirportDetails

func (o *TimeZoneDetailedXMLResponse) GetAirportDetails() TimezoneAirport

GetAirportDetails returns the AirportDetails field value if set, zero value otherwise.

func (*TimeZoneDetailedXMLResponse) GetAirportDetailsOk

func (o *TimeZoneDetailedXMLResponse) GetAirportDetailsOk() (*TimezoneAirport, bool)

GetAirportDetailsOk returns a tuple with the AirportDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedXMLResponse) GetIp

GetIp returns the Ip field value if set, zero value otherwise.

func (*TimeZoneDetailedXMLResponse) GetIpOk

func (o *TimeZoneDetailedXMLResponse) GetIpOk() (*string, bool)

GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedXMLResponse) GetLoCodeDetails

func (o *TimeZoneDetailedXMLResponse) GetLoCodeDetails() TimezoneLocode

GetLoCodeDetails returns the LoCodeDetails field value if set, zero value otherwise.

func (*TimeZoneDetailedXMLResponse) GetLoCodeDetailsOk

func (o *TimeZoneDetailedXMLResponse) GetLoCodeDetailsOk() (*TimezoneLocode, bool)

GetLoCodeDetailsOk returns a tuple with the LoCodeDetails field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedXMLResponse) GetLocation

GetLocation returns the Location field value if set, zero value otherwise.

func (*TimeZoneDetailedXMLResponse) GetLocationOk

func (o *TimeZoneDetailedXMLResponse) GetLocationOk() (*TimezoneLocation, bool)

GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedXMLResponse) GetTimeZone

GetTimeZone returns the TimeZone field value if set, zero value otherwise.

func (*TimeZoneDetailedXMLResponse) GetTimeZoneOk

func (o *TimeZoneDetailedXMLResponse) GetTimeZoneOk() (*TimezoneDetail, bool)

GetTimeZoneOk returns a tuple with the TimeZone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDetailedXMLResponse) HasAirportDetails

func (o *TimeZoneDetailedXMLResponse) HasAirportDetails() bool

HasAirportDetails returns a boolean if a field has been set.

func (*TimeZoneDetailedXMLResponse) HasIp

func (o *TimeZoneDetailedXMLResponse) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*TimeZoneDetailedXMLResponse) HasLoCodeDetails

func (o *TimeZoneDetailedXMLResponse) HasLoCodeDetails() bool

HasLoCodeDetails returns a boolean if a field has been set.

func (*TimeZoneDetailedXMLResponse) HasLocation

func (o *TimeZoneDetailedXMLResponse) HasLocation() bool

HasLocation returns a boolean if a field has been set.

func (*TimeZoneDetailedXMLResponse) HasTimeZone

func (o *TimeZoneDetailedXMLResponse) HasTimeZone() bool

HasTimeZone returns a boolean if a field has been set.

func (TimeZoneDetailedXMLResponse) MarshalJSON

func (o TimeZoneDetailedXMLResponse) MarshalJSON() ([]byte, error)

func (*TimeZoneDetailedXMLResponse) SetAirportDetails

func (o *TimeZoneDetailedXMLResponse) SetAirportDetails(v TimezoneAirport)

SetAirportDetails gets a reference to the given TimezoneAirport and assigns it to the AirportDetails field.

func (*TimeZoneDetailedXMLResponse) SetIp

func (o *TimeZoneDetailedXMLResponse) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*TimeZoneDetailedXMLResponse) SetLoCodeDetails

func (o *TimeZoneDetailedXMLResponse) SetLoCodeDetails(v TimezoneLocode)

SetLoCodeDetails gets a reference to the given TimezoneLocode and assigns it to the LoCodeDetails field.

func (*TimeZoneDetailedXMLResponse) SetLocation

SetLocation gets a reference to the given TimezoneLocation and assigns it to the Location field.

func (*TimeZoneDetailedXMLResponse) SetTimeZone

func (o *TimeZoneDetailedXMLResponse) SetTimeZone(v TimezoneDetail)

SetTimeZone gets a reference to the given TimezoneDetail and assigns it to the TimeZone field.

func (TimeZoneDetailedXMLResponse) ToMap

func (o TimeZoneDetailedXMLResponse) ToMap() (map[string]interface{}, error)

type TimeZoneDstEnd

type TimeZoneDstEnd struct {
	UtcTime        *string `json:"utc_time,omitempty"`
	Duration       *string `json:"duration,omitempty"`
	Gap            *bool   `json:"gap,omitempty"`
	DateTimeAfter  *string `json:"date_time_after,omitempty"`
	DateTimeBefore *string `json:"date_time_before,omitempty"`
	Overlap        *bool   `json:"overlap,omitempty"`
}

TimeZoneDstEnd struct for TimeZoneDstEnd

func NewTimeZoneDstEnd

func NewTimeZoneDstEnd() *TimeZoneDstEnd

NewTimeZoneDstEnd instantiates a new TimeZoneDstEnd object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeZoneDstEndWithDefaults

func NewTimeZoneDstEndWithDefaults() *TimeZoneDstEnd

NewTimeZoneDstEndWithDefaults instantiates a new TimeZoneDstEnd object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeZoneDstEnd) GetDateTimeAfter

func (o *TimeZoneDstEnd) GetDateTimeAfter() string

GetDateTimeAfter returns the DateTimeAfter field value if set, zero value otherwise.

func (*TimeZoneDstEnd) GetDateTimeAfterOk

func (o *TimeZoneDstEnd) GetDateTimeAfterOk() (*string, bool)

GetDateTimeAfterOk returns a tuple with the DateTimeAfter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstEnd) GetDateTimeBefore

func (o *TimeZoneDstEnd) GetDateTimeBefore() string

GetDateTimeBefore returns the DateTimeBefore field value if set, zero value otherwise.

func (*TimeZoneDstEnd) GetDateTimeBeforeOk

func (o *TimeZoneDstEnd) GetDateTimeBeforeOk() (*string, bool)

GetDateTimeBeforeOk returns a tuple with the DateTimeBefore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstEnd) GetDuration

func (o *TimeZoneDstEnd) GetDuration() string

GetDuration returns the Duration field value if set, zero value otherwise.

func (*TimeZoneDstEnd) GetDurationOk

func (o *TimeZoneDstEnd) GetDurationOk() (*string, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstEnd) GetGap

func (o *TimeZoneDstEnd) GetGap() bool

GetGap returns the Gap field value if set, zero value otherwise.

func (*TimeZoneDstEnd) GetGapOk

func (o *TimeZoneDstEnd) GetGapOk() (*bool, bool)

GetGapOk returns a tuple with the Gap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstEnd) GetOverlap

func (o *TimeZoneDstEnd) GetOverlap() bool

GetOverlap returns the Overlap field value if set, zero value otherwise.

func (*TimeZoneDstEnd) GetOverlapOk

func (o *TimeZoneDstEnd) GetOverlapOk() (*bool, bool)

GetOverlapOk returns a tuple with the Overlap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstEnd) GetUtcTime

func (o *TimeZoneDstEnd) GetUtcTime() string

GetUtcTime returns the UtcTime field value if set, zero value otherwise.

func (*TimeZoneDstEnd) GetUtcTimeOk

func (o *TimeZoneDstEnd) GetUtcTimeOk() (*string, bool)

GetUtcTimeOk returns a tuple with the UtcTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstEnd) HasDateTimeAfter

func (o *TimeZoneDstEnd) HasDateTimeAfter() bool

HasDateTimeAfter returns a boolean if a field has been set.

func (*TimeZoneDstEnd) HasDateTimeBefore

func (o *TimeZoneDstEnd) HasDateTimeBefore() bool

HasDateTimeBefore returns a boolean if a field has been set.

func (*TimeZoneDstEnd) HasDuration

func (o *TimeZoneDstEnd) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*TimeZoneDstEnd) HasGap

func (o *TimeZoneDstEnd) HasGap() bool

HasGap returns a boolean if a field has been set.

func (*TimeZoneDstEnd) HasOverlap

func (o *TimeZoneDstEnd) HasOverlap() bool

HasOverlap returns a boolean if a field has been set.

func (*TimeZoneDstEnd) HasUtcTime

func (o *TimeZoneDstEnd) HasUtcTime() bool

HasUtcTime returns a boolean if a field has been set.

func (TimeZoneDstEnd) MarshalJSON

func (o TimeZoneDstEnd) MarshalJSON() ([]byte, error)

func (*TimeZoneDstEnd) SetDateTimeAfter

func (o *TimeZoneDstEnd) SetDateTimeAfter(v string)

SetDateTimeAfter gets a reference to the given string and assigns it to the DateTimeAfter field.

func (*TimeZoneDstEnd) SetDateTimeBefore

func (o *TimeZoneDstEnd) SetDateTimeBefore(v string)

SetDateTimeBefore gets a reference to the given string and assigns it to the DateTimeBefore field.

func (*TimeZoneDstEnd) SetDuration

func (o *TimeZoneDstEnd) SetDuration(v string)

SetDuration gets a reference to the given string and assigns it to the Duration field.

func (*TimeZoneDstEnd) SetGap

func (o *TimeZoneDstEnd) SetGap(v bool)

SetGap gets a reference to the given bool and assigns it to the Gap field.

func (*TimeZoneDstEnd) SetOverlap

func (o *TimeZoneDstEnd) SetOverlap(v bool)

SetOverlap gets a reference to the given bool and assigns it to the Overlap field.

func (*TimeZoneDstEnd) SetUtcTime

func (o *TimeZoneDstEnd) SetUtcTime(v string)

SetUtcTime gets a reference to the given string and assigns it to the UtcTime field.

func (TimeZoneDstEnd) ToMap

func (o TimeZoneDstEnd) ToMap() (map[string]interface{}, error)

type TimeZoneDstStart

type TimeZoneDstStart struct {
	UtcTime        *string `json:"utc_time,omitempty"`
	Duration       *string `json:"duration,omitempty"`
	Gap            *bool   `json:"gap,omitempty"`
	DateTimeAfter  *string `json:"date_time_after,omitempty"`
	DateTimeBefore *string `json:"date_time_before,omitempty"`
	Overlap        *bool   `json:"overlap,omitempty"`
}

TimeZoneDstStart struct for TimeZoneDstStart

func NewTimeZoneDstStart

func NewTimeZoneDstStart() *TimeZoneDstStart

NewTimeZoneDstStart instantiates a new TimeZoneDstStart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimeZoneDstStartWithDefaults

func NewTimeZoneDstStartWithDefaults() *TimeZoneDstStart

NewTimeZoneDstStartWithDefaults instantiates a new TimeZoneDstStart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimeZoneDstStart) GetDateTimeAfter

func (o *TimeZoneDstStart) GetDateTimeAfter() string

GetDateTimeAfter returns the DateTimeAfter field value if set, zero value otherwise.

func (*TimeZoneDstStart) GetDateTimeAfterOk

func (o *TimeZoneDstStart) GetDateTimeAfterOk() (*string, bool)

GetDateTimeAfterOk returns a tuple with the DateTimeAfter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstStart) GetDateTimeBefore

func (o *TimeZoneDstStart) GetDateTimeBefore() string

GetDateTimeBefore returns the DateTimeBefore field value if set, zero value otherwise.

func (*TimeZoneDstStart) GetDateTimeBeforeOk

func (o *TimeZoneDstStart) GetDateTimeBeforeOk() (*string, bool)

GetDateTimeBeforeOk returns a tuple with the DateTimeBefore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstStart) GetDuration

func (o *TimeZoneDstStart) GetDuration() string

GetDuration returns the Duration field value if set, zero value otherwise.

func (*TimeZoneDstStart) GetDurationOk

func (o *TimeZoneDstStart) GetDurationOk() (*string, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstStart) GetGap

func (o *TimeZoneDstStart) GetGap() bool

GetGap returns the Gap field value if set, zero value otherwise.

func (*TimeZoneDstStart) GetGapOk

func (o *TimeZoneDstStart) GetGapOk() (*bool, bool)

GetGapOk returns a tuple with the Gap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstStart) GetOverlap

func (o *TimeZoneDstStart) GetOverlap() bool

GetOverlap returns the Overlap field value if set, zero value otherwise.

func (*TimeZoneDstStart) GetOverlapOk

func (o *TimeZoneDstStart) GetOverlapOk() (*bool, bool)

GetOverlapOk returns a tuple with the Overlap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstStart) GetUtcTime

func (o *TimeZoneDstStart) GetUtcTime() string

GetUtcTime returns the UtcTime field value if set, zero value otherwise.

func (*TimeZoneDstStart) GetUtcTimeOk

func (o *TimeZoneDstStart) GetUtcTimeOk() (*string, bool)

GetUtcTimeOk returns a tuple with the UtcTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimeZoneDstStart) HasDateTimeAfter

func (o *TimeZoneDstStart) HasDateTimeAfter() bool

HasDateTimeAfter returns a boolean if a field has been set.

func (*TimeZoneDstStart) HasDateTimeBefore

func (o *TimeZoneDstStart) HasDateTimeBefore() bool

HasDateTimeBefore returns a boolean if a field has been set.

func (*TimeZoneDstStart) HasDuration

func (o *TimeZoneDstStart) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*TimeZoneDstStart) HasGap

func (o *TimeZoneDstStart) HasGap() bool

HasGap returns a boolean if a field has been set.

func (*TimeZoneDstStart) HasOverlap

func (o *TimeZoneDstStart) HasOverlap() bool

HasOverlap returns a boolean if a field has been set.

func (*TimeZoneDstStart) HasUtcTime

func (o *TimeZoneDstStart) HasUtcTime() bool

HasUtcTime returns a boolean if a field has been set.

func (TimeZoneDstStart) MarshalJSON

func (o TimeZoneDstStart) MarshalJSON() ([]byte, error)

func (*TimeZoneDstStart) SetDateTimeAfter

func (o *TimeZoneDstStart) SetDateTimeAfter(v string)

SetDateTimeAfter gets a reference to the given string and assigns it to the DateTimeAfter field.

func (*TimeZoneDstStart) SetDateTimeBefore

func (o *TimeZoneDstStart) SetDateTimeBefore(v string)

SetDateTimeBefore gets a reference to the given string and assigns it to the DateTimeBefore field.

func (*TimeZoneDstStart) SetDuration

func (o *TimeZoneDstStart) SetDuration(v string)

SetDuration gets a reference to the given string and assigns it to the Duration field.

func (*TimeZoneDstStart) SetGap

func (o *TimeZoneDstStart) SetGap(v bool)

SetGap gets a reference to the given bool and assigns it to the Gap field.

func (*TimeZoneDstStart) SetOverlap

func (o *TimeZoneDstStart) SetOverlap(v bool)

SetOverlap gets a reference to the given bool and assigns it to the Overlap field.

func (*TimeZoneDstStart) SetUtcTime

func (o *TimeZoneDstStart) SetUtcTime(v string)

SetUtcTime gets a reference to the given string and assigns it to the UtcTime field.

func (TimeZoneDstStart) ToMap

func (o TimeZoneDstStart) ToMap() (map[string]interface{}, error)

type TimezoneAPI

type TimezoneAPI interface {

	/*
		GetTimezoneInfo Timezone information details

		The Time Zone API provides current time, date, and time zone-related information. It supports various input types including time zone name, geographic coordinates, addresses, IPs, and location codes.

	The API determines the time zone based on the following priority order if multiple parameters are provided:
	  1. Time Zone Name
	  2. Geographic Coordinates (latitude & longitude)
	  3. Location Address
	  4. IP Address
	  5. IATA Code
	  6. ICAO Code
	  7. UN/LOCODE

	Enriched response data is returned based on the type of input:
	- IP: includes geolocation info
	- Address: includes location metadata
	- IATA/ICAO: includes airport info
	- UN/LOCODE: includes city details

	You can call the time zone API without passing any time zone, coordinates, IATA, ICAO, LO code or IP address as well. It will use the calling machine's IP address to return the regional time zone information.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetTimezoneInfoRequest
	*/
	GetTimezoneInfo(ctx context.Context) ApiGetTimezoneInfoRequest

	// GetTimezoneInfoExecute executes the request
	//  @return TimeZoneDetailedResponse
	GetTimezoneInfoExecute(r ApiGetTimezoneInfoRequest) (*TimeZoneDetailedResponse, *http.Response, error)
}

type TimezoneAPIService

type TimezoneAPIService service

TimezoneAPIService TimezoneAPI service

func (*TimezoneAPIService) GetTimezoneInfo

GetTimezoneInfo Timezone information details

The Time Zone API provides current time, date, and time zone-related information. It supports various input types including time zone name, geographic coordinates, addresses, IPs, and location codes.

The API determines the time zone based on the following priority order if multiple parameters are provided:

  1. Time Zone Name
  2. Geographic Coordinates (latitude & longitude)
  3. Location Address
  4. IP Address
  5. IATA Code
  6. ICAO Code
  7. UN/LOCODE

Enriched response data is returned based on the type of input: - IP: includes geolocation info - Address: includes location metadata - IATA/ICAO: includes airport info - UN/LOCODE: includes city details

You can call the time zone API without passing any time zone, coordinates, IATA, ICAO, LO code or IP address as well. It will use the calling machine's IP address to return the regional time zone information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetTimezoneInfoRequest

func (*TimezoneAPIService) GetTimezoneInfoExecute

Execute executes the request

@return TimeZoneDetailedResponse

type TimezoneAirport

type TimezoneAirport struct {
	Type          *string `json:"type,omitempty"`
	Name          *string `json:"name,omitempty"`
	Latitude      *string `json:"latitude,omitempty"`
	Longitude     *string `json:"longitude,omitempty"`
	ElevationFt   *int32  `json:"elevation_ft,omitempty"`
	ContinentCode *string `json:"continent_code,omitempty"`
	CountryCode   *string `json:"country_code,omitempty"`
	StateCode     *string `json:"state_code,omitempty"`
	City          *string `json:"city,omitempty"`
	IataCode      *string `json:"iata_code,omitempty"`
	IcaoCode      *string `json:"icao_code,omitempty"`
	FaaCode       *string `json:"faa_code,omitempty"`
}

TimezoneAirport struct for TimezoneAirport

func NewTimezoneAirport

func NewTimezoneAirport() *TimezoneAirport

NewTimezoneAirport instantiates a new TimezoneAirport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimezoneAirportWithDefaults

func NewTimezoneAirportWithDefaults() *TimezoneAirport

NewTimezoneAirportWithDefaults instantiates a new TimezoneAirport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimezoneAirport) GetCity

func (o *TimezoneAirport) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*TimezoneAirport) GetCityOk

func (o *TimezoneAirport) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetContinentCode

func (o *TimezoneAirport) GetContinentCode() string

GetContinentCode returns the ContinentCode field value if set, zero value otherwise.

func (*TimezoneAirport) GetContinentCodeOk

func (o *TimezoneAirport) GetContinentCodeOk() (*string, bool)

GetContinentCodeOk returns a tuple with the ContinentCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetCountryCode

func (o *TimezoneAirport) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*TimezoneAirport) GetCountryCodeOk

func (o *TimezoneAirport) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetElevationFt

func (o *TimezoneAirport) GetElevationFt() int32

GetElevationFt returns the ElevationFt field value if set, zero value otherwise.

func (*TimezoneAirport) GetElevationFtOk

func (o *TimezoneAirport) GetElevationFtOk() (*int32, bool)

GetElevationFtOk returns a tuple with the ElevationFt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetFaaCode

func (o *TimezoneAirport) GetFaaCode() string

GetFaaCode returns the FaaCode field value if set, zero value otherwise.

func (*TimezoneAirport) GetFaaCodeOk

func (o *TimezoneAirport) GetFaaCodeOk() (*string, bool)

GetFaaCodeOk returns a tuple with the FaaCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetIataCode

func (o *TimezoneAirport) GetIataCode() string

GetIataCode returns the IataCode field value if set, zero value otherwise.

func (*TimezoneAirport) GetIataCodeOk

func (o *TimezoneAirport) GetIataCodeOk() (*string, bool)

GetIataCodeOk returns a tuple with the IataCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetIcaoCode

func (o *TimezoneAirport) GetIcaoCode() string

GetIcaoCode returns the IcaoCode field value if set, zero value otherwise.

func (*TimezoneAirport) GetIcaoCodeOk

func (o *TimezoneAirport) GetIcaoCodeOk() (*string, bool)

GetIcaoCodeOk returns a tuple with the IcaoCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetLatitude

func (o *TimezoneAirport) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*TimezoneAirport) GetLatitudeOk

func (o *TimezoneAirport) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetLongitude

func (o *TimezoneAirport) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*TimezoneAirport) GetLongitudeOk

func (o *TimezoneAirport) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetName

func (o *TimezoneAirport) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TimezoneAirport) GetNameOk

func (o *TimezoneAirport) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetStateCode

func (o *TimezoneAirport) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise.

func (*TimezoneAirport) GetStateCodeOk

func (o *TimezoneAirport) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) GetType

func (o *TimezoneAirport) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*TimezoneAirport) GetTypeOk

func (o *TimezoneAirport) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneAirport) HasCity

func (o *TimezoneAirport) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*TimezoneAirport) HasContinentCode

func (o *TimezoneAirport) HasContinentCode() bool

HasContinentCode returns a boolean if a field has been set.

func (*TimezoneAirport) HasCountryCode

func (o *TimezoneAirport) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*TimezoneAirport) HasElevationFt

func (o *TimezoneAirport) HasElevationFt() bool

HasElevationFt returns a boolean if a field has been set.

func (*TimezoneAirport) HasFaaCode

func (o *TimezoneAirport) HasFaaCode() bool

HasFaaCode returns a boolean if a field has been set.

func (*TimezoneAirport) HasIataCode

func (o *TimezoneAirport) HasIataCode() bool

HasIataCode returns a boolean if a field has been set.

func (*TimezoneAirport) HasIcaoCode

func (o *TimezoneAirport) HasIcaoCode() bool

HasIcaoCode returns a boolean if a field has been set.

func (*TimezoneAirport) HasLatitude

func (o *TimezoneAirport) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*TimezoneAirport) HasLongitude

func (o *TimezoneAirport) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*TimezoneAirport) HasName

func (o *TimezoneAirport) HasName() bool

HasName returns a boolean if a field has been set.

func (*TimezoneAirport) HasStateCode

func (o *TimezoneAirport) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (*TimezoneAirport) HasType

func (o *TimezoneAirport) HasType() bool

HasType returns a boolean if a field has been set.

func (TimezoneAirport) MarshalJSON

func (o TimezoneAirport) MarshalJSON() ([]byte, error)

func (*TimezoneAirport) SetCity

func (o *TimezoneAirport) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*TimezoneAirport) SetContinentCode

func (o *TimezoneAirport) SetContinentCode(v string)

SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.

func (*TimezoneAirport) SetCountryCode

func (o *TimezoneAirport) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*TimezoneAirport) SetElevationFt

func (o *TimezoneAirport) SetElevationFt(v int32)

SetElevationFt gets a reference to the given int32 and assigns it to the ElevationFt field.

func (*TimezoneAirport) SetFaaCode

func (o *TimezoneAirport) SetFaaCode(v string)

SetFaaCode gets a reference to the given string and assigns it to the FaaCode field.

func (*TimezoneAirport) SetIataCode

func (o *TimezoneAirport) SetIataCode(v string)

SetIataCode gets a reference to the given string and assigns it to the IataCode field.

func (*TimezoneAirport) SetIcaoCode

func (o *TimezoneAirport) SetIcaoCode(v string)

SetIcaoCode gets a reference to the given string and assigns it to the IcaoCode field.

func (*TimezoneAirport) SetLatitude

func (o *TimezoneAirport) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*TimezoneAirport) SetLongitude

func (o *TimezoneAirport) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*TimezoneAirport) SetName

func (o *TimezoneAirport) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TimezoneAirport) SetStateCode

func (o *TimezoneAirport) SetStateCode(v string)

SetStateCode gets a reference to the given string and assigns it to the StateCode field.

func (*TimezoneAirport) SetType

func (o *TimezoneAirport) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (TimezoneAirport) ToMap

func (o TimezoneAirport) ToMap() (map[string]interface{}, error)

type TimezoneDetail

type TimezoneDetail struct {
	Name          *string                 `json:"name,omitempty"`
	Offset        *int32                  `json:"offset,omitempty"`
	OffsetWithDst *int32                  `json:"offset_with_dst,omitempty"`
	Date          *string                 `json:"date,omitempty"`
	DateTime      *string                 `json:"date_time,omitempty"`
	DateTimeTxt   *string                 `json:"date_time_txt,omitempty"`
	DateTimeWti   *string                 `json:"date_time_wti,omitempty"`
	DateTimeYmd   *string                 `json:"date_time_ymd,omitempty"`
	DateTimeUnix  *float64                `json:"date_time_unix,omitempty"`
	Time24        *string                 `json:"time_24,omitempty"`
	Time12        *string                 `json:"time_12,omitempty"`
	Week          *int32                  `json:"week,omitempty"`
	Month         *int32                  `json:"month,omitempty"`
	Year          *int32                  `json:"year,omitempty"`
	YearAbbr      *string                 `json:"year_abbr,omitempty"`
	IsDst         *bool                   `json:"is_dst,omitempty"`
	DstSavings    *int32                  `json:"dst_savings,omitempty"`
	DstExists     *bool                   `json:"dst_exists,omitempty"`
	DstStart      *TimezoneDetailDstStart `json:"dst_start,omitempty"`
	DstEnd        *TimezoneDetailDstEnd   `json:"dst_end,omitempty"`
}

TimezoneDetail struct for TimezoneDetail

func NewTimezoneDetail

func NewTimezoneDetail() *TimezoneDetail

NewTimezoneDetail instantiates a new TimezoneDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimezoneDetailWithDefaults

func NewTimezoneDetailWithDefaults() *TimezoneDetail

NewTimezoneDetailWithDefaults instantiates a new TimezoneDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimezoneDetail) GetDate

func (o *TimezoneDetail) GetDate() string

GetDate returns the Date field value if set, zero value otherwise.

func (*TimezoneDetail) GetDateOk

func (o *TimezoneDetail) GetDateOk() (*string, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDateTime

func (o *TimezoneDetail) GetDateTime() string

GetDateTime returns the DateTime field value if set, zero value otherwise.

func (*TimezoneDetail) GetDateTimeOk

func (o *TimezoneDetail) GetDateTimeOk() (*string, bool)

GetDateTimeOk returns a tuple with the DateTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDateTimeTxt

func (o *TimezoneDetail) GetDateTimeTxt() string

GetDateTimeTxt returns the DateTimeTxt field value if set, zero value otherwise.

func (*TimezoneDetail) GetDateTimeTxtOk

func (o *TimezoneDetail) GetDateTimeTxtOk() (*string, bool)

GetDateTimeTxtOk returns a tuple with the DateTimeTxt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDateTimeUnix

func (o *TimezoneDetail) GetDateTimeUnix() float64

GetDateTimeUnix returns the DateTimeUnix field value if set, zero value otherwise.

func (*TimezoneDetail) GetDateTimeUnixOk

func (o *TimezoneDetail) GetDateTimeUnixOk() (*float64, bool)

GetDateTimeUnixOk returns a tuple with the DateTimeUnix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDateTimeWti

func (o *TimezoneDetail) GetDateTimeWti() string

GetDateTimeWti returns the DateTimeWti field value if set, zero value otherwise.

func (*TimezoneDetail) GetDateTimeWtiOk

func (o *TimezoneDetail) GetDateTimeWtiOk() (*string, bool)

GetDateTimeWtiOk returns a tuple with the DateTimeWti field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDateTimeYmd

func (o *TimezoneDetail) GetDateTimeYmd() string

GetDateTimeYmd returns the DateTimeYmd field value if set, zero value otherwise.

func (*TimezoneDetail) GetDateTimeYmdOk

func (o *TimezoneDetail) GetDateTimeYmdOk() (*string, bool)

GetDateTimeYmdOk returns a tuple with the DateTimeYmd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDstEnd

func (o *TimezoneDetail) GetDstEnd() TimezoneDetailDstEnd

GetDstEnd returns the DstEnd field value if set, zero value otherwise.

func (*TimezoneDetail) GetDstEndOk

func (o *TimezoneDetail) GetDstEndOk() (*TimezoneDetailDstEnd, bool)

GetDstEndOk returns a tuple with the DstEnd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDstExists

func (o *TimezoneDetail) GetDstExists() bool

GetDstExists returns the DstExists field value if set, zero value otherwise.

func (*TimezoneDetail) GetDstExistsOk

func (o *TimezoneDetail) GetDstExistsOk() (*bool, bool)

GetDstExistsOk returns a tuple with the DstExists field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDstSavings

func (o *TimezoneDetail) GetDstSavings() int32

GetDstSavings returns the DstSavings field value if set, zero value otherwise.

func (*TimezoneDetail) GetDstSavingsOk

func (o *TimezoneDetail) GetDstSavingsOk() (*int32, bool)

GetDstSavingsOk returns a tuple with the DstSavings field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetDstStart

func (o *TimezoneDetail) GetDstStart() TimezoneDetailDstStart

GetDstStart returns the DstStart field value if set, zero value otherwise.

func (*TimezoneDetail) GetDstStartOk

func (o *TimezoneDetail) GetDstStartOk() (*TimezoneDetailDstStart, bool)

GetDstStartOk returns a tuple with the DstStart field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetIsDst

func (o *TimezoneDetail) GetIsDst() bool

GetIsDst returns the IsDst field value if set, zero value otherwise.

func (*TimezoneDetail) GetIsDstOk

func (o *TimezoneDetail) GetIsDstOk() (*bool, bool)

GetIsDstOk returns a tuple with the IsDst field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetMonth

func (o *TimezoneDetail) GetMonth() int32

GetMonth returns the Month field value if set, zero value otherwise.

func (*TimezoneDetail) GetMonthOk

func (o *TimezoneDetail) GetMonthOk() (*int32, bool)

GetMonthOk returns a tuple with the Month field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetName

func (o *TimezoneDetail) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*TimezoneDetail) GetNameOk

func (o *TimezoneDetail) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetOffset

func (o *TimezoneDetail) GetOffset() int32

GetOffset returns the Offset field value if set, zero value otherwise.

func (*TimezoneDetail) GetOffsetOk

func (o *TimezoneDetail) GetOffsetOk() (*int32, bool)

GetOffsetOk returns a tuple with the Offset field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetOffsetWithDst

func (o *TimezoneDetail) GetOffsetWithDst() int32

GetOffsetWithDst returns the OffsetWithDst field value if set, zero value otherwise.

func (*TimezoneDetail) GetOffsetWithDstOk

func (o *TimezoneDetail) GetOffsetWithDstOk() (*int32, bool)

GetOffsetWithDstOk returns a tuple with the OffsetWithDst field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetTime12

func (o *TimezoneDetail) GetTime12() string

GetTime12 returns the Time12 field value if set, zero value otherwise.

func (*TimezoneDetail) GetTime12Ok

func (o *TimezoneDetail) GetTime12Ok() (*string, bool)

GetTime12Ok returns a tuple with the Time12 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetTime24

func (o *TimezoneDetail) GetTime24() string

GetTime24 returns the Time24 field value if set, zero value otherwise.

func (*TimezoneDetail) GetTime24Ok

func (o *TimezoneDetail) GetTime24Ok() (*string, bool)

GetTime24Ok returns a tuple with the Time24 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetWeek

func (o *TimezoneDetail) GetWeek() int32

GetWeek returns the Week field value if set, zero value otherwise.

func (*TimezoneDetail) GetWeekOk

func (o *TimezoneDetail) GetWeekOk() (*int32, bool)

GetWeekOk returns a tuple with the Week field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetYear

func (o *TimezoneDetail) GetYear() int32

GetYear returns the Year field value if set, zero value otherwise.

func (*TimezoneDetail) GetYearAbbr

func (o *TimezoneDetail) GetYearAbbr() string

GetYearAbbr returns the YearAbbr field value if set, zero value otherwise.

func (*TimezoneDetail) GetYearAbbrOk

func (o *TimezoneDetail) GetYearAbbrOk() (*string, bool)

GetYearAbbrOk returns a tuple with the YearAbbr field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) GetYearOk

func (o *TimezoneDetail) GetYearOk() (*int32, bool)

GetYearOk returns a tuple with the Year field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetail) HasDate

func (o *TimezoneDetail) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*TimezoneDetail) HasDateTime

func (o *TimezoneDetail) HasDateTime() bool

HasDateTime returns a boolean if a field has been set.

func (*TimezoneDetail) HasDateTimeTxt

func (o *TimezoneDetail) HasDateTimeTxt() bool

HasDateTimeTxt returns a boolean if a field has been set.

func (*TimezoneDetail) HasDateTimeUnix

func (o *TimezoneDetail) HasDateTimeUnix() bool

HasDateTimeUnix returns a boolean if a field has been set.

func (*TimezoneDetail) HasDateTimeWti

func (o *TimezoneDetail) HasDateTimeWti() bool

HasDateTimeWti returns a boolean if a field has been set.

func (*TimezoneDetail) HasDateTimeYmd

func (o *TimezoneDetail) HasDateTimeYmd() bool

HasDateTimeYmd returns a boolean if a field has been set.

func (*TimezoneDetail) HasDstEnd

func (o *TimezoneDetail) HasDstEnd() bool

HasDstEnd returns a boolean if a field has been set.

func (*TimezoneDetail) HasDstExists

func (o *TimezoneDetail) HasDstExists() bool

HasDstExists returns a boolean if a field has been set.

func (*TimezoneDetail) HasDstSavings

func (o *TimezoneDetail) HasDstSavings() bool

HasDstSavings returns a boolean if a field has been set.

func (*TimezoneDetail) HasDstStart

func (o *TimezoneDetail) HasDstStart() bool

HasDstStart returns a boolean if a field has been set.

func (*TimezoneDetail) HasIsDst

func (o *TimezoneDetail) HasIsDst() bool

HasIsDst returns a boolean if a field has been set.

func (*TimezoneDetail) HasMonth

func (o *TimezoneDetail) HasMonth() bool

HasMonth returns a boolean if a field has been set.

func (*TimezoneDetail) HasName

func (o *TimezoneDetail) HasName() bool

HasName returns a boolean if a field has been set.

func (*TimezoneDetail) HasOffset

func (o *TimezoneDetail) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*TimezoneDetail) HasOffsetWithDst

func (o *TimezoneDetail) HasOffsetWithDst() bool

HasOffsetWithDst returns a boolean if a field has been set.

func (*TimezoneDetail) HasTime12

func (o *TimezoneDetail) HasTime12() bool

HasTime12 returns a boolean if a field has been set.

func (*TimezoneDetail) HasTime24

func (o *TimezoneDetail) HasTime24() bool

HasTime24 returns a boolean if a field has been set.

func (*TimezoneDetail) HasWeek

func (o *TimezoneDetail) HasWeek() bool

HasWeek returns a boolean if a field has been set.

func (*TimezoneDetail) HasYear

func (o *TimezoneDetail) HasYear() bool

HasYear returns a boolean if a field has been set.

func (*TimezoneDetail) HasYearAbbr

func (o *TimezoneDetail) HasYearAbbr() bool

HasYearAbbr returns a boolean if a field has been set.

func (TimezoneDetail) MarshalJSON

func (o TimezoneDetail) MarshalJSON() ([]byte, error)

func (*TimezoneDetail) SetDate

func (o *TimezoneDetail) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*TimezoneDetail) SetDateTime

func (o *TimezoneDetail) SetDateTime(v string)

SetDateTime gets a reference to the given string and assigns it to the DateTime field.

func (*TimezoneDetail) SetDateTimeTxt

func (o *TimezoneDetail) SetDateTimeTxt(v string)

SetDateTimeTxt gets a reference to the given string and assigns it to the DateTimeTxt field.

func (*TimezoneDetail) SetDateTimeUnix

func (o *TimezoneDetail) SetDateTimeUnix(v float64)

SetDateTimeUnix gets a reference to the given float64 and assigns it to the DateTimeUnix field.

func (*TimezoneDetail) SetDateTimeWti

func (o *TimezoneDetail) SetDateTimeWti(v string)

SetDateTimeWti gets a reference to the given string and assigns it to the DateTimeWti field.

func (*TimezoneDetail) SetDateTimeYmd

func (o *TimezoneDetail) SetDateTimeYmd(v string)

SetDateTimeYmd gets a reference to the given time.Time and assigns it to the DateTimeYmd field.

func (*TimezoneDetail) SetDstEnd

func (o *TimezoneDetail) SetDstEnd(v TimezoneDetailDstEnd)

SetDstEnd gets a reference to the given TimezoneDetailDstEnd and assigns it to the DstEnd field.

func (*TimezoneDetail) SetDstExists

func (o *TimezoneDetail) SetDstExists(v bool)

SetDstExists gets a reference to the given bool and assigns it to the DstExists field.

func (*TimezoneDetail) SetDstSavings

func (o *TimezoneDetail) SetDstSavings(v int32)

SetDstSavings gets a reference to the given int32 and assigns it to the DstSavings field.

func (*TimezoneDetail) SetDstStart

func (o *TimezoneDetail) SetDstStart(v TimezoneDetailDstStart)

SetDstStart gets a reference to the given TimezoneDetailDstStart and assigns it to the DstStart field.

func (*TimezoneDetail) SetIsDst

func (o *TimezoneDetail) SetIsDst(v bool)

SetIsDst gets a reference to the given bool and assigns it to the IsDst field.

func (*TimezoneDetail) SetMonth

func (o *TimezoneDetail) SetMonth(v int32)

SetMonth gets a reference to the given int32 and assigns it to the Month field.

func (*TimezoneDetail) SetName

func (o *TimezoneDetail) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*TimezoneDetail) SetOffset

func (o *TimezoneDetail) SetOffset(v int32)

SetOffset gets a reference to the given int32 and assigns it to the Offset field.

func (*TimezoneDetail) SetOffsetWithDst

func (o *TimezoneDetail) SetOffsetWithDst(v int32)

SetOffsetWithDst gets a reference to the given int32 and assigns it to the OffsetWithDst field.

func (*TimezoneDetail) SetTime12

func (o *TimezoneDetail) SetTime12(v string)

SetTime12 gets a reference to the given string and assigns it to the Time12 field.

func (*TimezoneDetail) SetTime24

func (o *TimezoneDetail) SetTime24(v string)

SetTime24 gets a reference to the given string and assigns it to the Time24 field.

func (*TimezoneDetail) SetWeek

func (o *TimezoneDetail) SetWeek(v int32)

SetWeek gets a reference to the given int32 and assigns it to the Week field.

func (*TimezoneDetail) SetYear

func (o *TimezoneDetail) SetYear(v int32)

SetYear gets a reference to the given int32 and assigns it to the Year field.

func (*TimezoneDetail) SetYearAbbr

func (o *TimezoneDetail) SetYearAbbr(v string)

SetYearAbbr gets a reference to the given string and assigns it to the YearAbbr field.

func (TimezoneDetail) ToMap

func (o TimezoneDetail) ToMap() (map[string]interface{}, error)

type TimezoneDetailDstEnd

type TimezoneDetailDstEnd struct {
	UtcTime        *string `json:"utc_time,omitempty"`
	Duration       *string `json:"duration,omitempty"`
	Gap            *bool   `json:"gap,omitempty"`
	DateTimeAfter  *string `json:"date_time_after,omitempty"`
	DateTimeBefore *string `json:"date_time_before,omitempty"`
	Overlap        *bool   `json:"overlap,omitempty"`
}

TimezoneDetailDstEnd struct for TimezoneDetailDstEnd

func NewTimezoneDetailDstEnd

func NewTimezoneDetailDstEnd() *TimezoneDetailDstEnd

NewTimezoneDetailDstEnd instantiates a new TimezoneDetailDstEnd object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimezoneDetailDstEndWithDefaults

func NewTimezoneDetailDstEndWithDefaults() *TimezoneDetailDstEnd

NewTimezoneDetailDstEndWithDefaults instantiates a new TimezoneDetailDstEnd object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimezoneDetailDstEnd) GetDateTimeAfter

func (o *TimezoneDetailDstEnd) GetDateTimeAfter() string

GetDateTimeAfter returns the DateTimeAfter field value if set, zero value otherwise.

func (*TimezoneDetailDstEnd) GetDateTimeAfterOk

func (o *TimezoneDetailDstEnd) GetDateTimeAfterOk() (*string, bool)

GetDateTimeAfterOk returns a tuple with the DateTimeAfter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstEnd) GetDateTimeBefore

func (o *TimezoneDetailDstEnd) GetDateTimeBefore() string

GetDateTimeBefore returns the DateTimeBefore field value if set, zero value otherwise.

func (*TimezoneDetailDstEnd) GetDateTimeBeforeOk

func (o *TimezoneDetailDstEnd) GetDateTimeBeforeOk() (*string, bool)

GetDateTimeBeforeOk returns a tuple with the DateTimeBefore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstEnd) GetDuration

func (o *TimezoneDetailDstEnd) GetDuration() string

GetDuration returns the Duration field value if set, zero value otherwise.

func (*TimezoneDetailDstEnd) GetDurationOk

func (o *TimezoneDetailDstEnd) GetDurationOk() (*string, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstEnd) GetGap

func (o *TimezoneDetailDstEnd) GetGap() bool

GetGap returns the Gap field value if set, zero value otherwise.

func (*TimezoneDetailDstEnd) GetGapOk

func (o *TimezoneDetailDstEnd) GetGapOk() (*bool, bool)

GetGapOk returns a tuple with the Gap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstEnd) GetOverlap

func (o *TimezoneDetailDstEnd) GetOverlap() bool

GetOverlap returns the Overlap field value if set, zero value otherwise.

func (*TimezoneDetailDstEnd) GetOverlapOk

func (o *TimezoneDetailDstEnd) GetOverlapOk() (*bool, bool)

GetOverlapOk returns a tuple with the Overlap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstEnd) GetUtcTime

func (o *TimezoneDetailDstEnd) GetUtcTime() string

GetUtcTime returns the UtcTime field value if set, zero value otherwise.

func (*TimezoneDetailDstEnd) GetUtcTimeOk

func (o *TimezoneDetailDstEnd) GetUtcTimeOk() (*string, bool)

GetUtcTimeOk returns a tuple with the UtcTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstEnd) HasDateTimeAfter

func (o *TimezoneDetailDstEnd) HasDateTimeAfter() bool

HasDateTimeAfter returns a boolean if a field has been set.

func (*TimezoneDetailDstEnd) HasDateTimeBefore

func (o *TimezoneDetailDstEnd) HasDateTimeBefore() bool

HasDateTimeBefore returns a boolean if a field has been set.

func (*TimezoneDetailDstEnd) HasDuration

func (o *TimezoneDetailDstEnd) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*TimezoneDetailDstEnd) HasGap

func (o *TimezoneDetailDstEnd) HasGap() bool

HasGap returns a boolean if a field has been set.

func (*TimezoneDetailDstEnd) HasOverlap

func (o *TimezoneDetailDstEnd) HasOverlap() bool

HasOverlap returns a boolean if a field has been set.

func (*TimezoneDetailDstEnd) HasUtcTime

func (o *TimezoneDetailDstEnd) HasUtcTime() bool

HasUtcTime returns a boolean if a field has been set.

func (TimezoneDetailDstEnd) MarshalJSON

func (o TimezoneDetailDstEnd) MarshalJSON() ([]byte, error)

func (*TimezoneDetailDstEnd) SetDateTimeAfter

func (o *TimezoneDetailDstEnd) SetDateTimeAfter(v string)

SetDateTimeAfter gets a reference to the given string and assigns it to the DateTimeAfter field.

func (*TimezoneDetailDstEnd) SetDateTimeBefore

func (o *TimezoneDetailDstEnd) SetDateTimeBefore(v string)

SetDateTimeBefore gets a reference to the given string and assigns it to the DateTimeBefore field.

func (*TimezoneDetailDstEnd) SetDuration

func (o *TimezoneDetailDstEnd) SetDuration(v string)

SetDuration gets a reference to the given string and assigns it to the Duration field.

func (*TimezoneDetailDstEnd) SetGap

func (o *TimezoneDetailDstEnd) SetGap(v bool)

SetGap gets a reference to the given bool and assigns it to the Gap field.

func (*TimezoneDetailDstEnd) SetOverlap

func (o *TimezoneDetailDstEnd) SetOverlap(v bool)

SetOverlap gets a reference to the given bool and assigns it to the Overlap field.

func (*TimezoneDetailDstEnd) SetUtcTime

func (o *TimezoneDetailDstEnd) SetUtcTime(v string)

SetUtcTime gets a reference to the given string and assigns it to the UtcTime field.

func (TimezoneDetailDstEnd) ToMap

func (o TimezoneDetailDstEnd) ToMap() (map[string]interface{}, error)

type TimezoneDetailDstStart

type TimezoneDetailDstStart struct {
	UtcTime        *string `json:"utc_time,omitempty"`
	Duration       *string `json:"duration,omitempty"`
	Gap            *bool   `json:"gap,omitempty"`
	DateTimeAfter  *string `json:"date_time_after,omitempty"`
	DateTimeBefore *string `json:"date_time_before,omitempty"`
	Overlap        *bool   `json:"overlap,omitempty"`
}

TimezoneDetailDstStart struct for TimezoneDetailDstStart

func NewTimezoneDetailDstStart

func NewTimezoneDetailDstStart() *TimezoneDetailDstStart

NewTimezoneDetailDstStart instantiates a new TimezoneDetailDstStart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimezoneDetailDstStartWithDefaults

func NewTimezoneDetailDstStartWithDefaults() *TimezoneDetailDstStart

NewTimezoneDetailDstStartWithDefaults instantiates a new TimezoneDetailDstStart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimezoneDetailDstStart) GetDateTimeAfter

func (o *TimezoneDetailDstStart) GetDateTimeAfter() string

GetDateTimeAfter returns the DateTimeAfter field value if set, zero value otherwise.

func (*TimezoneDetailDstStart) GetDateTimeAfterOk

func (o *TimezoneDetailDstStart) GetDateTimeAfterOk() (*string, bool)

GetDateTimeAfterOk returns a tuple with the DateTimeAfter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstStart) GetDateTimeBefore

func (o *TimezoneDetailDstStart) GetDateTimeBefore() string

GetDateTimeBefore returns the DateTimeBefore field value if set, zero value otherwise.

func (*TimezoneDetailDstStart) GetDateTimeBeforeOk

func (o *TimezoneDetailDstStart) GetDateTimeBeforeOk() (*string, bool)

GetDateTimeBeforeOk returns a tuple with the DateTimeBefore field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstStart) GetDuration

func (o *TimezoneDetailDstStart) GetDuration() string

GetDuration returns the Duration field value if set, zero value otherwise.

func (*TimezoneDetailDstStart) GetDurationOk

func (o *TimezoneDetailDstStart) GetDurationOk() (*string, bool)

GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstStart) GetGap

func (o *TimezoneDetailDstStart) GetGap() bool

GetGap returns the Gap field value if set, zero value otherwise.

func (*TimezoneDetailDstStart) GetGapOk

func (o *TimezoneDetailDstStart) GetGapOk() (*bool, bool)

GetGapOk returns a tuple with the Gap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstStart) GetOverlap

func (o *TimezoneDetailDstStart) GetOverlap() bool

GetOverlap returns the Overlap field value if set, zero value otherwise.

func (*TimezoneDetailDstStart) GetOverlapOk

func (o *TimezoneDetailDstStart) GetOverlapOk() (*bool, bool)

GetOverlapOk returns a tuple with the Overlap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstStart) GetUtcTime

func (o *TimezoneDetailDstStart) GetUtcTime() string

GetUtcTime returns the UtcTime field value if set, zero value otherwise.

func (*TimezoneDetailDstStart) GetUtcTimeOk

func (o *TimezoneDetailDstStart) GetUtcTimeOk() (*string, bool)

GetUtcTimeOk returns a tuple with the UtcTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneDetailDstStart) HasDateTimeAfter

func (o *TimezoneDetailDstStart) HasDateTimeAfter() bool

HasDateTimeAfter returns a boolean if a field has been set.

func (*TimezoneDetailDstStart) HasDateTimeBefore

func (o *TimezoneDetailDstStart) HasDateTimeBefore() bool

HasDateTimeBefore returns a boolean if a field has been set.

func (*TimezoneDetailDstStart) HasDuration

func (o *TimezoneDetailDstStart) HasDuration() bool

HasDuration returns a boolean if a field has been set.

func (*TimezoneDetailDstStart) HasGap

func (o *TimezoneDetailDstStart) HasGap() bool

HasGap returns a boolean if a field has been set.

func (*TimezoneDetailDstStart) HasOverlap

func (o *TimezoneDetailDstStart) HasOverlap() bool

HasOverlap returns a boolean if a field has been set.

func (*TimezoneDetailDstStart) HasUtcTime

func (o *TimezoneDetailDstStart) HasUtcTime() bool

HasUtcTime returns a boolean if a field has been set.

func (TimezoneDetailDstStart) MarshalJSON

func (o TimezoneDetailDstStart) MarshalJSON() ([]byte, error)

func (*TimezoneDetailDstStart) SetDateTimeAfter

func (o *TimezoneDetailDstStart) SetDateTimeAfter(v string)

SetDateTimeAfter gets a reference to the given string and assigns it to the DateTimeAfter field.

func (*TimezoneDetailDstStart) SetDateTimeBefore

func (o *TimezoneDetailDstStart) SetDateTimeBefore(v string)

SetDateTimeBefore gets a reference to the given string and assigns it to the DateTimeBefore field.

func (*TimezoneDetailDstStart) SetDuration

func (o *TimezoneDetailDstStart) SetDuration(v string)

SetDuration gets a reference to the given string and assigns it to the Duration field.

func (*TimezoneDetailDstStart) SetGap

func (o *TimezoneDetailDstStart) SetGap(v bool)

SetGap gets a reference to the given bool and assigns it to the Gap field.

func (*TimezoneDetailDstStart) SetOverlap

func (o *TimezoneDetailDstStart) SetOverlap(v bool)

SetOverlap gets a reference to the given bool and assigns it to the Overlap field.

func (*TimezoneDetailDstStart) SetUtcTime

func (o *TimezoneDetailDstStart) SetUtcTime(v string)

SetUtcTime gets a reference to the given string and assigns it to the UtcTime field.

func (TimezoneDetailDstStart) ToMap

func (o TimezoneDetailDstStart) ToMap() (map[string]interface{}, error)

type TimezoneLocation

type TimezoneLocation struct {
	LocationString      *string `json:"location_string,omitempty"`
	ContinentCode       *string `json:"continent_code,omitempty"`
	ContinentName       *string `json:"continent_name,omitempty"`
	CountryCode2        *string `json:"country_code2,omitempty"`
	CountryCode3        *string `json:"country_code3,omitempty"`
	CountryName         *string `json:"country_name,omitempty"`
	CountryNameOfficial *string `json:"country_name_official,omitempty"`
	IsEu                *bool   `json:"is_eu,omitempty"`
	StateProv           *string `json:"state_prov,omitempty"`
	StateCode           *string `json:"state_code,omitempty"`
	District            *string `json:"district,omitempty"`
	City                *string `json:"city,omitempty"`
	Locality            *string `json:"locality,omitempty"`
	Zipcode             *string `json:"zipcode,omitempty"`
	Latitude            *string `json:"latitude,omitempty"`
	Longitude           *string `json:"longitude,omitempty"`
}

TimezoneLocation struct for TimezoneLocation

func NewTimezoneLocation

func NewTimezoneLocation() *TimezoneLocation

NewTimezoneLocation instantiates a new TimezoneLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimezoneLocationWithDefaults

func NewTimezoneLocationWithDefaults() *TimezoneLocation

NewTimezoneLocationWithDefaults instantiates a new TimezoneLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimezoneLocation) GetCity

func (o *TimezoneLocation) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*TimezoneLocation) GetCityOk

func (o *TimezoneLocation) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetContinentCode

func (o *TimezoneLocation) GetContinentCode() string

GetContinentCode returns the ContinentCode field value if set, zero value otherwise.

func (*TimezoneLocation) GetContinentCodeOk

func (o *TimezoneLocation) GetContinentCodeOk() (*string, bool)

GetContinentCodeOk returns a tuple with the ContinentCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetContinentName

func (o *TimezoneLocation) GetContinentName() string

GetContinentName returns the ContinentName field value if set, zero value otherwise.

func (*TimezoneLocation) GetContinentNameOk

func (o *TimezoneLocation) GetContinentNameOk() (*string, bool)

GetContinentNameOk returns a tuple with the ContinentName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetCountryCode2

func (o *TimezoneLocation) GetCountryCode2() string

GetCountryCode2 returns the CountryCode2 field value if set, zero value otherwise.

func (*TimezoneLocation) GetCountryCode2Ok

func (o *TimezoneLocation) GetCountryCode2Ok() (*string, bool)

GetCountryCode2Ok returns a tuple with the CountryCode2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetCountryCode3

func (o *TimezoneLocation) GetCountryCode3() string

GetCountryCode3 returns the CountryCode3 field value if set, zero value otherwise.

func (*TimezoneLocation) GetCountryCode3Ok

func (o *TimezoneLocation) GetCountryCode3Ok() (*string, bool)

GetCountryCode3Ok returns a tuple with the CountryCode3 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetCountryName

func (o *TimezoneLocation) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*TimezoneLocation) GetCountryNameOfficial

func (o *TimezoneLocation) GetCountryNameOfficial() string

GetCountryNameOfficial returns the CountryNameOfficial field value if set, zero value otherwise.

func (*TimezoneLocation) GetCountryNameOfficialOk

func (o *TimezoneLocation) GetCountryNameOfficialOk() (*string, bool)

GetCountryNameOfficialOk returns a tuple with the CountryNameOfficial field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetCountryNameOk

func (o *TimezoneLocation) GetCountryNameOk() (*string, bool)

GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetDistrict

func (o *TimezoneLocation) GetDistrict() string

GetDistrict returns the District field value if set, zero value otherwise.

func (*TimezoneLocation) GetDistrictOk

func (o *TimezoneLocation) GetDistrictOk() (*string, bool)

GetDistrictOk returns a tuple with the District field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetIsEu

func (o *TimezoneLocation) GetIsEu() bool

GetIsEu returns the IsEu field value if set, zero value otherwise.

func (*TimezoneLocation) GetIsEuOk

func (o *TimezoneLocation) GetIsEuOk() (*bool, bool)

GetIsEuOk returns a tuple with the IsEu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetLatitude

func (o *TimezoneLocation) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*TimezoneLocation) GetLatitudeOk

func (o *TimezoneLocation) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetLocality

func (o *TimezoneLocation) GetLocality() string

GetLocality returns the Locality field value if set, zero value otherwise.

func (*TimezoneLocation) GetLocalityOk

func (o *TimezoneLocation) GetLocalityOk() (*string, bool)

GetLocalityOk returns a tuple with the Locality field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetLocationString

func (o *TimezoneLocation) GetLocationString() string

GetLocationString returns the LocationString field value if set, zero value otherwise.

func (*TimezoneLocation) GetLocationStringOk

func (o *TimezoneLocation) GetLocationStringOk() (*string, bool)

GetLocationStringOk returns a tuple with the LocationString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetLongitude

func (o *TimezoneLocation) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*TimezoneLocation) GetLongitudeOk

func (o *TimezoneLocation) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetStateCode

func (o *TimezoneLocation) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise.

func (*TimezoneLocation) GetStateCodeOk

func (o *TimezoneLocation) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetStateProv

func (o *TimezoneLocation) GetStateProv() string

GetStateProv returns the StateProv field value if set, zero value otherwise.

func (*TimezoneLocation) GetStateProvOk

func (o *TimezoneLocation) GetStateProvOk() (*string, bool)

GetStateProvOk returns a tuple with the StateProv field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) GetZipcode

func (o *TimezoneLocation) GetZipcode() string

GetZipcode returns the Zipcode field value if set, zero value otherwise.

func (*TimezoneLocation) GetZipcodeOk

func (o *TimezoneLocation) GetZipcodeOk() (*string, bool)

GetZipcodeOk returns a tuple with the Zipcode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocation) HasCity

func (o *TimezoneLocation) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*TimezoneLocation) HasContinentCode

func (o *TimezoneLocation) HasContinentCode() bool

HasContinentCode returns a boolean if a field has been set.

func (*TimezoneLocation) HasContinentName

func (o *TimezoneLocation) HasContinentName() bool

HasContinentName returns a boolean if a field has been set.

func (*TimezoneLocation) HasCountryCode2

func (o *TimezoneLocation) HasCountryCode2() bool

HasCountryCode2 returns a boolean if a field has been set.

func (*TimezoneLocation) HasCountryCode3

func (o *TimezoneLocation) HasCountryCode3() bool

HasCountryCode3 returns a boolean if a field has been set.

func (*TimezoneLocation) HasCountryName

func (o *TimezoneLocation) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*TimezoneLocation) HasCountryNameOfficial

func (o *TimezoneLocation) HasCountryNameOfficial() bool

HasCountryNameOfficial returns a boolean if a field has been set.

func (*TimezoneLocation) HasDistrict

func (o *TimezoneLocation) HasDistrict() bool

HasDistrict returns a boolean if a field has been set.

func (*TimezoneLocation) HasIsEu

func (o *TimezoneLocation) HasIsEu() bool

HasIsEu returns a boolean if a field has been set.

func (*TimezoneLocation) HasLatitude

func (o *TimezoneLocation) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*TimezoneLocation) HasLocality

func (o *TimezoneLocation) HasLocality() bool

HasLocality returns a boolean if a field has been set.

func (*TimezoneLocation) HasLocationString

func (o *TimezoneLocation) HasLocationString() bool

HasLocationString returns a boolean if a field has been set.

func (*TimezoneLocation) HasLongitude

func (o *TimezoneLocation) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*TimezoneLocation) HasStateCode

func (o *TimezoneLocation) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (*TimezoneLocation) HasStateProv

func (o *TimezoneLocation) HasStateProv() bool

HasStateProv returns a boolean if a field has been set.

func (*TimezoneLocation) HasZipcode

func (o *TimezoneLocation) HasZipcode() bool

HasZipcode returns a boolean if a field has been set.

func (TimezoneLocation) MarshalJSON

func (o TimezoneLocation) MarshalJSON() ([]byte, error)

func (*TimezoneLocation) SetCity

func (o *TimezoneLocation) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*TimezoneLocation) SetContinentCode

func (o *TimezoneLocation) SetContinentCode(v string)

SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.

func (*TimezoneLocation) SetContinentName

func (o *TimezoneLocation) SetContinentName(v string)

SetContinentName gets a reference to the given string and assigns it to the ContinentName field.

func (*TimezoneLocation) SetCountryCode2

func (o *TimezoneLocation) SetCountryCode2(v string)

SetCountryCode2 gets a reference to the given string and assigns it to the CountryCode2 field.

func (*TimezoneLocation) SetCountryCode3

func (o *TimezoneLocation) SetCountryCode3(v string)

SetCountryCode3 gets a reference to the given string and assigns it to the CountryCode3 field.

func (*TimezoneLocation) SetCountryName

func (o *TimezoneLocation) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*TimezoneLocation) SetCountryNameOfficial

func (o *TimezoneLocation) SetCountryNameOfficial(v string)

SetCountryNameOfficial gets a reference to the given string and assigns it to the CountryNameOfficial field.

func (*TimezoneLocation) SetDistrict

func (o *TimezoneLocation) SetDistrict(v string)

SetDistrict gets a reference to the given string and assigns it to the District field.

func (*TimezoneLocation) SetIsEu

func (o *TimezoneLocation) SetIsEu(v bool)

SetIsEu gets a reference to the given bool and assigns it to the IsEu field.

func (*TimezoneLocation) SetLatitude

func (o *TimezoneLocation) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*TimezoneLocation) SetLocality

func (o *TimezoneLocation) SetLocality(v string)

SetLocality gets a reference to the given string and assigns it to the Locality field.

func (*TimezoneLocation) SetLocationString

func (o *TimezoneLocation) SetLocationString(v string)

SetLocationString gets a reference to the given string and assigns it to the LocationString field.

func (*TimezoneLocation) SetLongitude

func (o *TimezoneLocation) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*TimezoneLocation) SetStateCode

func (o *TimezoneLocation) SetStateCode(v string)

SetStateCode gets a reference to the given string and assigns it to the StateCode field.

func (*TimezoneLocation) SetStateProv

func (o *TimezoneLocation) SetStateProv(v string)

SetStateProv gets a reference to the given string and assigns it to the StateProv field.

func (*TimezoneLocation) SetZipcode

func (o *TimezoneLocation) SetZipcode(v string)

SetZipcode gets a reference to the given string and assigns it to the Zipcode field.

func (TimezoneLocation) ToMap

func (o TimezoneLocation) ToMap() (map[string]interface{}, error)

type TimezoneLocode

type TimezoneLocode struct {
	LoCode       *string `json:"lo_code,omitempty"`
	City         *string `json:"city,omitempty"`
	StateCode    *string `json:"state_code,omitempty"`
	CountryCode  *string `json:"country_code,omitempty"`
	CountryName  *string `json:"country_name,omitempty"`
	LocationType *string `json:"location_type,omitempty"`
	Latitude     *string `json:"latitude,omitempty"`
	Longitude    *string `json:"longitude,omitempty"`
}

TimezoneLocode struct for TimezoneLocode

func NewTimezoneLocode

func NewTimezoneLocode() *TimezoneLocode

NewTimezoneLocode instantiates a new TimezoneLocode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTimezoneLocodeWithDefaults

func NewTimezoneLocodeWithDefaults() *TimezoneLocode

NewTimezoneLocodeWithDefaults instantiates a new TimezoneLocode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TimezoneLocode) GetCity

func (o *TimezoneLocode) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*TimezoneLocode) GetCityOk

func (o *TimezoneLocode) GetCityOk() (*string, bool)

GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetCountryCode

func (o *TimezoneLocode) GetCountryCode() string

GetCountryCode returns the CountryCode field value if set, zero value otherwise.

func (*TimezoneLocode) GetCountryCodeOk

func (o *TimezoneLocode) GetCountryCodeOk() (*string, bool)

GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetCountryName

func (o *TimezoneLocode) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*TimezoneLocode) GetCountryNameOk

func (o *TimezoneLocode) GetCountryNameOk() (*string, bool)

GetCountryNameOk returns a tuple with the CountryName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetLatitude

func (o *TimezoneLocode) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*TimezoneLocode) GetLatitudeOk

func (o *TimezoneLocode) GetLatitudeOk() (*string, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetLoCode

func (o *TimezoneLocode) GetLoCode() string

GetLoCode returns the LoCode field value if set, zero value otherwise.

func (*TimezoneLocode) GetLoCodeOk

func (o *TimezoneLocode) GetLoCodeOk() (*string, bool)

GetLoCodeOk returns a tuple with the LoCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetLocationType

func (o *TimezoneLocode) GetLocationType() string

GetLocationType returns the LocationType field value if set, zero value otherwise.

func (*TimezoneLocode) GetLocationTypeOk

func (o *TimezoneLocode) GetLocationTypeOk() (*string, bool)

GetLocationTypeOk returns a tuple with the LocationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetLongitude

func (o *TimezoneLocode) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*TimezoneLocode) GetLongitudeOk

func (o *TimezoneLocode) GetLongitudeOk() (*string, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) GetStateCode

func (o *TimezoneLocode) GetStateCode() string

GetStateCode returns the StateCode field value if set, zero value otherwise.

func (*TimezoneLocode) GetStateCodeOk

func (o *TimezoneLocode) GetStateCodeOk() (*string, bool)

GetStateCodeOk returns a tuple with the StateCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TimezoneLocode) HasCity

func (o *TimezoneLocode) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*TimezoneLocode) HasCountryCode

func (o *TimezoneLocode) HasCountryCode() bool

HasCountryCode returns a boolean if a field has been set.

func (*TimezoneLocode) HasCountryName

func (o *TimezoneLocode) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*TimezoneLocode) HasLatitude

func (o *TimezoneLocode) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*TimezoneLocode) HasLoCode

func (o *TimezoneLocode) HasLoCode() bool

HasLoCode returns a boolean if a field has been set.

func (*TimezoneLocode) HasLocationType

func (o *TimezoneLocode) HasLocationType() bool

HasLocationType returns a boolean if a field has been set.

func (*TimezoneLocode) HasLongitude

func (o *TimezoneLocode) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*TimezoneLocode) HasStateCode

func (o *TimezoneLocode) HasStateCode() bool

HasStateCode returns a boolean if a field has been set.

func (TimezoneLocode) MarshalJSON

func (o TimezoneLocode) MarshalJSON() ([]byte, error)

func (*TimezoneLocode) SetCity

func (o *TimezoneLocode) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*TimezoneLocode) SetCountryCode

func (o *TimezoneLocode) SetCountryCode(v string)

SetCountryCode gets a reference to the given string and assigns it to the CountryCode field.

func (*TimezoneLocode) SetCountryName

func (o *TimezoneLocode) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*TimezoneLocode) SetLatitude

func (o *TimezoneLocode) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*TimezoneLocode) SetLoCode

func (o *TimezoneLocode) SetLoCode(v string)

SetLoCode gets a reference to the given string and assigns it to the LoCode field.

func (*TimezoneLocode) SetLocationType

func (o *TimezoneLocode) SetLocationType(v string)

SetLocationType gets a reference to the given string and assigns it to the LocationType field.

func (*TimezoneLocode) SetLongitude

func (o *TimezoneLocode) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*TimezoneLocode) SetStateCode

func (o *TimezoneLocode) SetStateCode(v string)

SetStateCode gets a reference to the given string and assigns it to the StateCode field.

func (TimezoneLocode) ToMap

func (o TimezoneLocode) ToMap() (map[string]interface{}, error)

type UserAgentAPI

type UserAgentAPI interface {

	/*
		GetUserAgentDetails Get details of user-agent

		User Agent Parser API provides the accurate browser, device, and operating system
	details from a User Agent String. It also provides information about crawlers and attack sources. You can use these details to customize user experience, prevent crawlers and attackers from accessing your website.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiGetUserAgentDetailsRequest
	*/
	GetUserAgentDetails(ctx context.Context) ApiGetUserAgentDetailsRequest

	// GetUserAgentDetailsExecute executes the request
	//  @return UserAgentData
	GetUserAgentDetailsExecute(r ApiGetUserAgentDetailsRequest) (*UserAgentData, *http.Response, error)

	/*
		ParseBulkUserAgentStrings Handle multiple user-agent string lookups

		This endpoint allows you to perform the parsing of multiple User-Angent strings (max. 50,000) at the same time. The requests count per round is equal to total User-Agent strings passed. This feature is `only available for paid plans`.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiParseBulkUserAgentStringsRequest
	*/
	ParseBulkUserAgentStrings(ctx context.Context) ApiParseBulkUserAgentStringsRequest

	// ParseBulkUserAgentStringsExecute executes the request
	//  @return []UserAgentData
	ParseBulkUserAgentStringsExecute(r ApiParseBulkUserAgentStringsRequest) ([]UserAgentData, *http.Response, error)

	/*
		ParseUserAgentString Handle single User-Agent string

		You can also provide custom User-Agent string to parse in JSON payload. This endpoint is meant to be called from server-side and is available for paid subscriptions only.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@return ApiParseUserAgentStringRequest
	*/
	ParseUserAgentString(ctx context.Context) ApiParseUserAgentStringRequest

	// ParseUserAgentStringExecute executes the request
	//  @return UserAgentData
	ParseUserAgentStringExecute(r ApiParseUserAgentStringRequest) (*UserAgentData, *http.Response, error)
}

type UserAgentAPIService

type UserAgentAPIService service

UserAgentAPIService UserAgentAPI service

func (*UserAgentAPIService) GetUserAgentDetails

GetUserAgentDetails Get details of user-agent

User Agent Parser API provides the accurate browser, device, and operating system details from a User Agent String. It also provides information about crawlers and attack sources. You can use these details to customize user experience, prevent crawlers and attackers from accessing your website.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUserAgentDetailsRequest

func (*UserAgentAPIService) GetUserAgentDetailsExecute

func (a *UserAgentAPIService) GetUserAgentDetailsExecute(r ApiGetUserAgentDetailsRequest) (*UserAgentData, *http.Response, error)

Execute executes the request

@return UserAgentData

func (*UserAgentAPIService) ParseBulkUserAgentStrings

func (a *UserAgentAPIService) ParseBulkUserAgentStrings(ctx context.Context) ApiParseBulkUserAgentStringsRequest

ParseBulkUserAgentStrings Handle multiple user-agent string lookups

This endpoint allows you to perform the parsing of multiple User-Angent strings (max. 50,000) at the same time. The requests count per round is equal to total User-Agent strings passed. This feature is `only available for paid plans`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiParseBulkUserAgentStringsRequest

func (*UserAgentAPIService) ParseBulkUserAgentStringsExecute

func (a *UserAgentAPIService) ParseBulkUserAgentStringsExecute(r ApiParseBulkUserAgentStringsRequest) ([]UserAgentData, *http.Response, error)

Execute executes the request

@return []UserAgentData

func (*UserAgentAPIService) ParseUserAgentString

ParseUserAgentString Handle single User-Agent string

You can also provide custom User-Agent string to parse in JSON payload. This endpoint is meant to be called from server-side and is available for paid subscriptions only.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiParseUserAgentStringRequest

func (*UserAgentAPIService) ParseUserAgentStringExecute

func (a *UserAgentAPIService) ParseUserAgentStringExecute(r ApiParseUserAgentStringRequest) (*UserAgentData, *http.Response, error)

Execute executes the request

@return UserAgentData

type UserAgentData

type UserAgentData struct {
	UserAgentString *string                       `json:"user_agent_string,omitempty"`
	Name            *string                       `json:"name,omitempty"`
	Type            *string                       `json:"type,omitempty"`
	Version         *string                       `json:"version,omitempty"`
	VersionMajor    *string                       `json:"version_major,omitempty"`
	Device          *UserAgentDataDevice          `json:"device,omitempty"`
	Engine          *UserAgentDataEngine          `json:"engine,omitempty"`
	OperatingSystem *UserAgentDataOperatingSystem `json:"operating_system,omitempty"`
}

UserAgentData struct for UserAgentData

func NewUserAgentData

func NewUserAgentData() *UserAgentData

NewUserAgentData instantiates a new UserAgentData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAgentDataWithDefaults

func NewUserAgentDataWithDefaults() *UserAgentData

NewUserAgentDataWithDefaults instantiates a new UserAgentData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAgentData) GetDevice

func (o *UserAgentData) GetDevice() UserAgentDataDevice

GetDevice returns the Device field value if set, zero value otherwise.

func (*UserAgentData) GetDeviceOk

func (o *UserAgentData) GetDeviceOk() (*UserAgentDataDevice, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetEngine

func (o *UserAgentData) GetEngine() UserAgentDataEngine

GetEngine returns the Engine field value if set, zero value otherwise.

func (*UserAgentData) GetEngineOk

func (o *UserAgentData) GetEngineOk() (*UserAgentDataEngine, bool)

GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetName

func (o *UserAgentData) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAgentData) GetNameOk

func (o *UserAgentData) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetOperatingSystem

func (o *UserAgentData) GetOperatingSystem() UserAgentDataOperatingSystem

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*UserAgentData) GetOperatingSystemOk

func (o *UserAgentData) GetOperatingSystemOk() (*UserAgentDataOperatingSystem, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetType

func (o *UserAgentData) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserAgentData) GetTypeOk

func (o *UserAgentData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetUserAgentString

func (o *UserAgentData) GetUserAgentString() string

GetUserAgentString returns the UserAgentString field value if set, zero value otherwise.

func (*UserAgentData) GetUserAgentStringOk

func (o *UserAgentData) GetUserAgentStringOk() (*string, bool)

GetUserAgentStringOk returns a tuple with the UserAgentString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetVersion

func (o *UserAgentData) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UserAgentData) GetVersionMajor

func (o *UserAgentData) GetVersionMajor() string

GetVersionMajor returns the VersionMajor field value if set, zero value otherwise.

func (*UserAgentData) GetVersionMajorOk

func (o *UserAgentData) GetVersionMajorOk() (*string, bool)

GetVersionMajorOk returns a tuple with the VersionMajor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) GetVersionOk

func (o *UserAgentData) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentData) HasDevice

func (o *UserAgentData) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*UserAgentData) HasEngine

func (o *UserAgentData) HasEngine() bool

HasEngine returns a boolean if a field has been set.

func (*UserAgentData) HasName

func (o *UserAgentData) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAgentData) HasOperatingSystem

func (o *UserAgentData) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*UserAgentData) HasType

func (o *UserAgentData) HasType() bool

HasType returns a boolean if a field has been set.

func (*UserAgentData) HasUserAgentString

func (o *UserAgentData) HasUserAgentString() bool

HasUserAgentString returns a boolean if a field has been set.

func (*UserAgentData) HasVersion

func (o *UserAgentData) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*UserAgentData) HasVersionMajor

func (o *UserAgentData) HasVersionMajor() bool

HasVersionMajor returns a boolean if a field has been set.

func (UserAgentData) MarshalJSON

func (o UserAgentData) MarshalJSON() ([]byte, error)

func (*UserAgentData) SetDevice

func (o *UserAgentData) SetDevice(v UserAgentDataDevice)

SetDevice gets a reference to the given UserAgentDataDevice and assigns it to the Device field.

func (*UserAgentData) SetEngine

func (o *UserAgentData) SetEngine(v UserAgentDataEngine)

SetEngine gets a reference to the given UserAgentDataEngine and assigns it to the Engine field.

func (*UserAgentData) SetName

func (o *UserAgentData) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAgentData) SetOperatingSystem

func (o *UserAgentData) SetOperatingSystem(v UserAgentDataOperatingSystem)

SetOperatingSystem gets a reference to the given UserAgentDataOperatingSystem and assigns it to the OperatingSystem field.

func (*UserAgentData) SetType

func (o *UserAgentData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*UserAgentData) SetUserAgentString

func (o *UserAgentData) SetUserAgentString(v string)

SetUserAgentString gets a reference to the given string and assigns it to the UserAgentString field.

func (*UserAgentData) SetVersion

func (o *UserAgentData) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*UserAgentData) SetVersionMajor

func (o *UserAgentData) SetVersionMajor(v string)

SetVersionMajor gets a reference to the given string and assigns it to the VersionMajor field.

func (UserAgentData) ToMap

func (o UserAgentData) ToMap() (map[string]interface{}, error)

type UserAgentDataDevice

type UserAgentDataDevice struct {
	Name  *string `json:"name,omitempty"`
	Type  *string `json:"type,omitempty"`
	Brand *string `json:"brand,omitempty"`
	Cpu   *string `json:"cpu,omitempty"`
}

UserAgentDataDevice struct for UserAgentDataDevice

func NewUserAgentDataDevice

func NewUserAgentDataDevice() *UserAgentDataDevice

NewUserAgentDataDevice instantiates a new UserAgentDataDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAgentDataDeviceWithDefaults

func NewUserAgentDataDeviceWithDefaults() *UserAgentDataDevice

NewUserAgentDataDeviceWithDefaults instantiates a new UserAgentDataDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAgentDataDevice) GetBrand

func (o *UserAgentDataDevice) GetBrand() string

GetBrand returns the Brand field value if set, zero value otherwise.

func (*UserAgentDataDevice) GetBrandOk

func (o *UserAgentDataDevice) GetBrandOk() (*string, bool)

GetBrandOk returns a tuple with the Brand field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataDevice) GetCpu

func (o *UserAgentDataDevice) GetCpu() string

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*UserAgentDataDevice) GetCpuOk

func (o *UserAgentDataDevice) GetCpuOk() (*string, bool)

GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataDevice) GetName

func (o *UserAgentDataDevice) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAgentDataDevice) GetNameOk

func (o *UserAgentDataDevice) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataDevice) GetType

func (o *UserAgentDataDevice) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserAgentDataDevice) GetTypeOk

func (o *UserAgentDataDevice) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataDevice) HasBrand

func (o *UserAgentDataDevice) HasBrand() bool

HasBrand returns a boolean if a field has been set.

func (*UserAgentDataDevice) HasCpu

func (o *UserAgentDataDevice) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*UserAgentDataDevice) HasName

func (o *UserAgentDataDevice) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAgentDataDevice) HasType

func (o *UserAgentDataDevice) HasType() bool

HasType returns a boolean if a field has been set.

func (UserAgentDataDevice) MarshalJSON

func (o UserAgentDataDevice) MarshalJSON() ([]byte, error)

func (*UserAgentDataDevice) SetBrand

func (o *UserAgentDataDevice) SetBrand(v string)

SetBrand gets a reference to the given string and assigns it to the Brand field.

func (*UserAgentDataDevice) SetCpu

func (o *UserAgentDataDevice) SetCpu(v string)

SetCpu gets a reference to the given string and assigns it to the Cpu field.

func (*UserAgentDataDevice) SetName

func (o *UserAgentDataDevice) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAgentDataDevice) SetType

func (o *UserAgentDataDevice) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (UserAgentDataDevice) ToMap

func (o UserAgentDataDevice) ToMap() (map[string]interface{}, error)

type UserAgentDataEngine

type UserAgentDataEngine struct {
	Name         *string `json:"name,omitempty"`
	Type         *string `json:"type,omitempty"`
	Version      *string `json:"version,omitempty"`
	VersionMajor *string `json:"version_major,omitempty"`
}

UserAgentDataEngine struct for UserAgentDataEngine

func NewUserAgentDataEngine

func NewUserAgentDataEngine() *UserAgentDataEngine

NewUserAgentDataEngine instantiates a new UserAgentDataEngine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAgentDataEngineWithDefaults

func NewUserAgentDataEngineWithDefaults() *UserAgentDataEngine

NewUserAgentDataEngineWithDefaults instantiates a new UserAgentDataEngine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAgentDataEngine) GetName

func (o *UserAgentDataEngine) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAgentDataEngine) GetNameOk

func (o *UserAgentDataEngine) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataEngine) GetType

func (o *UserAgentDataEngine) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserAgentDataEngine) GetTypeOk

func (o *UserAgentDataEngine) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataEngine) GetVersion

func (o *UserAgentDataEngine) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UserAgentDataEngine) GetVersionMajor

func (o *UserAgentDataEngine) GetVersionMajor() string

GetVersionMajor returns the VersionMajor field value if set, zero value otherwise.

func (*UserAgentDataEngine) GetVersionMajorOk

func (o *UserAgentDataEngine) GetVersionMajorOk() (*string, bool)

GetVersionMajorOk returns a tuple with the VersionMajor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataEngine) GetVersionOk

func (o *UserAgentDataEngine) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataEngine) HasName

func (o *UserAgentDataEngine) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAgentDataEngine) HasType

func (o *UserAgentDataEngine) HasType() bool

HasType returns a boolean if a field has been set.

func (*UserAgentDataEngine) HasVersion

func (o *UserAgentDataEngine) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*UserAgentDataEngine) HasVersionMajor

func (o *UserAgentDataEngine) HasVersionMajor() bool

HasVersionMajor returns a boolean if a field has been set.

func (UserAgentDataEngine) MarshalJSON

func (o UserAgentDataEngine) MarshalJSON() ([]byte, error)

func (*UserAgentDataEngine) SetName

func (o *UserAgentDataEngine) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAgentDataEngine) SetType

func (o *UserAgentDataEngine) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*UserAgentDataEngine) SetVersion

func (o *UserAgentDataEngine) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*UserAgentDataEngine) SetVersionMajor

func (o *UserAgentDataEngine) SetVersionMajor(v string)

SetVersionMajor gets a reference to the given string and assigns it to the VersionMajor field.

func (UserAgentDataEngine) ToMap

func (o UserAgentDataEngine) ToMap() (map[string]interface{}, error)

type UserAgentDataOperatingSystem

type UserAgentDataOperatingSystem struct {
	Name         *string `json:"name,omitempty"`
	Type         *string `json:"type,omitempty"`
	Version      *string `json:"version,omitempty"`
	VersionMajor *string `json:"version_major,omitempty"`
	Build        *string `json:"build,omitempty"`
}

UserAgentDataOperatingSystem struct for UserAgentDataOperatingSystem

func NewUserAgentDataOperatingSystem

func NewUserAgentDataOperatingSystem() *UserAgentDataOperatingSystem

NewUserAgentDataOperatingSystem instantiates a new UserAgentDataOperatingSystem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAgentDataOperatingSystemWithDefaults

func NewUserAgentDataOperatingSystemWithDefaults() *UserAgentDataOperatingSystem

NewUserAgentDataOperatingSystemWithDefaults instantiates a new UserAgentDataOperatingSystem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAgentDataOperatingSystem) GetBuild

func (o *UserAgentDataOperatingSystem) GetBuild() string

GetBuild returns the Build field value if set, zero value otherwise.

func (*UserAgentDataOperatingSystem) GetBuildOk

func (o *UserAgentDataOperatingSystem) GetBuildOk() (*string, bool)

GetBuildOk returns a tuple with the Build field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataOperatingSystem) GetName

func (o *UserAgentDataOperatingSystem) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAgentDataOperatingSystem) GetNameOk

func (o *UserAgentDataOperatingSystem) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataOperatingSystem) GetType

func (o *UserAgentDataOperatingSystem) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserAgentDataOperatingSystem) GetTypeOk

func (o *UserAgentDataOperatingSystem) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataOperatingSystem) GetVersion

func (o *UserAgentDataOperatingSystem) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UserAgentDataOperatingSystem) GetVersionMajor

func (o *UserAgentDataOperatingSystem) GetVersionMajor() string

GetVersionMajor returns the VersionMajor field value if set, zero value otherwise.

func (*UserAgentDataOperatingSystem) GetVersionMajorOk

func (o *UserAgentDataOperatingSystem) GetVersionMajorOk() (*string, bool)

GetVersionMajorOk returns a tuple with the VersionMajor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataOperatingSystem) GetVersionOk

func (o *UserAgentDataOperatingSystem) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentDataOperatingSystem) HasBuild

func (o *UserAgentDataOperatingSystem) HasBuild() bool

HasBuild returns a boolean if a field has been set.

func (*UserAgentDataOperatingSystem) HasName

func (o *UserAgentDataOperatingSystem) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAgentDataOperatingSystem) HasType

func (o *UserAgentDataOperatingSystem) HasType() bool

HasType returns a boolean if a field has been set.

func (*UserAgentDataOperatingSystem) HasVersion

func (o *UserAgentDataOperatingSystem) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*UserAgentDataOperatingSystem) HasVersionMajor

func (o *UserAgentDataOperatingSystem) HasVersionMajor() bool

HasVersionMajor returns a boolean if a field has been set.

func (UserAgentDataOperatingSystem) MarshalJSON

func (o UserAgentDataOperatingSystem) MarshalJSON() ([]byte, error)

func (*UserAgentDataOperatingSystem) SetBuild

func (o *UserAgentDataOperatingSystem) SetBuild(v string)

SetBuild gets a reference to the given string and assigns it to the Build field.

func (*UserAgentDataOperatingSystem) SetName

func (o *UserAgentDataOperatingSystem) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAgentDataOperatingSystem) SetType

func (o *UserAgentDataOperatingSystem) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*UserAgentDataOperatingSystem) SetVersion

func (o *UserAgentDataOperatingSystem) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*UserAgentDataOperatingSystem) SetVersionMajor

func (o *UserAgentDataOperatingSystem) SetVersionMajor(v string)

SetVersionMajor gets a reference to the given string and assigns it to the VersionMajor field.

func (UserAgentDataOperatingSystem) ToMap

func (o UserAgentDataOperatingSystem) ToMap() (map[string]interface{}, error)

type UserAgentXMLData

type UserAgentXMLData struct {
	UserAgentString *string                       `json:"user_agent_string,omitempty"`
	Name            *string                       `json:"name,omitempty"`
	Type            *string                       `json:"type,omitempty"`
	Version         *string                       `json:"version,omitempty"`
	VersionMajor    *string                       `json:"version_major,omitempty"`
	Device          *UserAgentDataDevice          `json:"device,omitempty"`
	Engine          *UserAgentDataEngine          `json:"engine,omitempty"`
	OperatingSystem *UserAgentDataOperatingSystem `json:"operating_system,omitempty"`
}

UserAgentXMLData struct for UserAgentXMLData

func NewUserAgentXMLData

func NewUserAgentXMLData() *UserAgentXMLData

NewUserAgentXMLData instantiates a new UserAgentXMLData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAgentXMLDataWithDefaults

func NewUserAgentXMLDataWithDefaults() *UserAgentXMLData

NewUserAgentXMLDataWithDefaults instantiates a new UserAgentXMLData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAgentXMLData) GetDevice

func (o *UserAgentXMLData) GetDevice() UserAgentDataDevice

GetDevice returns the Device field value if set, zero value otherwise.

func (*UserAgentXMLData) GetDeviceOk

func (o *UserAgentXMLData) GetDeviceOk() (*UserAgentDataDevice, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetEngine

func (o *UserAgentXMLData) GetEngine() UserAgentDataEngine

GetEngine returns the Engine field value if set, zero value otherwise.

func (*UserAgentXMLData) GetEngineOk

func (o *UserAgentXMLData) GetEngineOk() (*UserAgentDataEngine, bool)

GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetName

func (o *UserAgentXMLData) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAgentXMLData) GetNameOk

func (o *UserAgentXMLData) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetOperatingSystem

func (o *UserAgentXMLData) GetOperatingSystem() UserAgentDataOperatingSystem

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*UserAgentXMLData) GetOperatingSystemOk

func (o *UserAgentXMLData) GetOperatingSystemOk() (*UserAgentDataOperatingSystem, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetType

func (o *UserAgentXMLData) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserAgentXMLData) GetTypeOk

func (o *UserAgentXMLData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetUserAgentString

func (o *UserAgentXMLData) GetUserAgentString() string

GetUserAgentString returns the UserAgentString field value if set, zero value otherwise.

func (*UserAgentXMLData) GetUserAgentStringOk

func (o *UserAgentXMLData) GetUserAgentStringOk() (*string, bool)

GetUserAgentStringOk returns a tuple with the UserAgentString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetVersion

func (o *UserAgentXMLData) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UserAgentXMLData) GetVersionMajor

func (o *UserAgentXMLData) GetVersionMajor() string

GetVersionMajor returns the VersionMajor field value if set, zero value otherwise.

func (*UserAgentXMLData) GetVersionMajorOk

func (o *UserAgentXMLData) GetVersionMajorOk() (*string, bool)

GetVersionMajorOk returns a tuple with the VersionMajor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) GetVersionOk

func (o *UserAgentXMLData) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLData) HasDevice

func (o *UserAgentXMLData) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*UserAgentXMLData) HasEngine

func (o *UserAgentXMLData) HasEngine() bool

HasEngine returns a boolean if a field has been set.

func (*UserAgentXMLData) HasName

func (o *UserAgentXMLData) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAgentXMLData) HasOperatingSystem

func (o *UserAgentXMLData) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*UserAgentXMLData) HasType

func (o *UserAgentXMLData) HasType() bool

HasType returns a boolean if a field has been set.

func (*UserAgentXMLData) HasUserAgentString

func (o *UserAgentXMLData) HasUserAgentString() bool

HasUserAgentString returns a boolean if a field has been set.

func (*UserAgentXMLData) HasVersion

func (o *UserAgentXMLData) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*UserAgentXMLData) HasVersionMajor

func (o *UserAgentXMLData) HasVersionMajor() bool

HasVersionMajor returns a boolean if a field has been set.

func (UserAgentXMLData) MarshalJSON

func (o UserAgentXMLData) MarshalJSON() ([]byte, error)

func (*UserAgentXMLData) SetDevice

func (o *UserAgentXMLData) SetDevice(v UserAgentDataDevice)

SetDevice gets a reference to the given UserAgentDataDevice and assigns it to the Device field.

func (*UserAgentXMLData) SetEngine

func (o *UserAgentXMLData) SetEngine(v UserAgentDataEngine)

SetEngine gets a reference to the given UserAgentDataEngine and assigns it to the Engine field.

func (*UserAgentXMLData) SetName

func (o *UserAgentXMLData) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAgentXMLData) SetOperatingSystem

func (o *UserAgentXMLData) SetOperatingSystem(v UserAgentDataOperatingSystem)

SetOperatingSystem gets a reference to the given UserAgentDataOperatingSystem and assigns it to the OperatingSystem field.

func (*UserAgentXMLData) SetType

func (o *UserAgentXMLData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*UserAgentXMLData) SetUserAgentString

func (o *UserAgentXMLData) SetUserAgentString(v string)

SetUserAgentString gets a reference to the given string and assigns it to the UserAgentString field.

func (*UserAgentXMLData) SetVersion

func (o *UserAgentXMLData) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*UserAgentXMLData) SetVersionMajor

func (o *UserAgentXMLData) SetVersionMajor(v string)

SetVersionMajor gets a reference to the given string and assigns it to the VersionMajor field.

func (UserAgentXMLData) ToMap

func (o UserAgentXMLData) ToMap() (map[string]interface{}, error)

type UserAgentXMLDataArray

type UserAgentXMLDataArray struct {
	UserAgentString *string                       `json:"user_agent_string,omitempty"`
	Name            *string                       `json:"name,omitempty"`
	Type            *string                       `json:"type,omitempty"`
	Version         *string                       `json:"version,omitempty"`
	VersionMajor    *string                       `json:"version_major,omitempty"`
	Device          *UserAgentDataDevice          `json:"device,omitempty"`
	Engine          *UserAgentDataEngine          `json:"engine,omitempty"`
	OperatingSystem *UserAgentDataOperatingSystem `json:"operating_system,omitempty"`
}

UserAgentXMLDataArray struct for UserAgentXMLDataArray

func NewUserAgentXMLDataArray

func NewUserAgentXMLDataArray() *UserAgentXMLDataArray

NewUserAgentXMLDataArray instantiates a new UserAgentXMLDataArray object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserAgentXMLDataArrayWithDefaults

func NewUserAgentXMLDataArrayWithDefaults() *UserAgentXMLDataArray

NewUserAgentXMLDataArrayWithDefaults instantiates a new UserAgentXMLDataArray object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*UserAgentXMLDataArray) GetDevice

GetDevice returns the Device field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetDeviceOk

func (o *UserAgentXMLDataArray) GetDeviceOk() (*UserAgentDataDevice, bool)

GetDeviceOk returns a tuple with the Device field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetEngine

GetEngine returns the Engine field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetEngineOk

func (o *UserAgentXMLDataArray) GetEngineOk() (*UserAgentDataEngine, bool)

GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetName

func (o *UserAgentXMLDataArray) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetNameOk

func (o *UserAgentXMLDataArray) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetOperatingSystem

func (o *UserAgentXMLDataArray) GetOperatingSystem() UserAgentDataOperatingSystem

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetOperatingSystemOk

func (o *UserAgentXMLDataArray) GetOperatingSystemOk() (*UserAgentDataOperatingSystem, bool)

GetOperatingSystemOk returns a tuple with the OperatingSystem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetType

func (o *UserAgentXMLDataArray) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetTypeOk

func (o *UserAgentXMLDataArray) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetUserAgentString

func (o *UserAgentXMLDataArray) GetUserAgentString() string

GetUserAgentString returns the UserAgentString field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetUserAgentStringOk

func (o *UserAgentXMLDataArray) GetUserAgentStringOk() (*string, bool)

GetUserAgentStringOk returns a tuple with the UserAgentString field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetVersion

func (o *UserAgentXMLDataArray) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetVersionMajor

func (o *UserAgentXMLDataArray) GetVersionMajor() string

GetVersionMajor returns the VersionMajor field value if set, zero value otherwise.

func (*UserAgentXMLDataArray) GetVersionMajorOk

func (o *UserAgentXMLDataArray) GetVersionMajorOk() (*string, bool)

GetVersionMajorOk returns a tuple with the VersionMajor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) GetVersionOk

func (o *UserAgentXMLDataArray) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UserAgentXMLDataArray) HasDevice

func (o *UserAgentXMLDataArray) HasDevice() bool

HasDevice returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasEngine

func (o *UserAgentXMLDataArray) HasEngine() bool

HasEngine returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasName

func (o *UserAgentXMLDataArray) HasName() bool

HasName returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasOperatingSystem

func (o *UserAgentXMLDataArray) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasType

func (o *UserAgentXMLDataArray) HasType() bool

HasType returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasUserAgentString

func (o *UserAgentXMLDataArray) HasUserAgentString() bool

HasUserAgentString returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasVersion

func (o *UserAgentXMLDataArray) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*UserAgentXMLDataArray) HasVersionMajor

func (o *UserAgentXMLDataArray) HasVersionMajor() bool

HasVersionMajor returns a boolean if a field has been set.

func (UserAgentXMLDataArray) MarshalJSON

func (o UserAgentXMLDataArray) MarshalJSON() ([]byte, error)

func (*UserAgentXMLDataArray) SetDevice

SetDevice gets a reference to the given UserAgentDataDevice and assigns it to the Device field.

func (*UserAgentXMLDataArray) SetEngine

SetEngine gets a reference to the given UserAgentDataEngine and assigns it to the Engine field.

func (*UserAgentXMLDataArray) SetName

func (o *UserAgentXMLDataArray) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UserAgentXMLDataArray) SetOperatingSystem

func (o *UserAgentXMLDataArray) SetOperatingSystem(v UserAgentDataOperatingSystem)

SetOperatingSystem gets a reference to the given UserAgentDataOperatingSystem and assigns it to the OperatingSystem field.

func (*UserAgentXMLDataArray) SetType

func (o *UserAgentXMLDataArray) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*UserAgentXMLDataArray) SetUserAgentString

func (o *UserAgentXMLDataArray) SetUserAgentString(v string)

SetUserAgentString gets a reference to the given string and assigns it to the UserAgentString field.

func (*UserAgentXMLDataArray) SetVersion

func (o *UserAgentXMLDataArray) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (*UserAgentXMLDataArray) SetVersionMajor

func (o *UserAgentXMLDataArray) SetVersionMajor(v string)

SetVersionMajor gets a reference to the given string and assigns it to the VersionMajor field.

func (UserAgentXMLDataArray) ToMap

func (o UserAgentXMLDataArray) ToMap() (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL