Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- func WithAPIKey(ctx context.Context, key string) context.Context
- type APIClient
- type APIKey
- type APIResponse
- type ASNConnection
- func (o *ASNConnection) GetAsNumber() string
- func (o *ASNConnection) GetAsNumberOk() (*string, bool)
- func (o *ASNConnection) GetCountry() string
- func (o *ASNConnection) GetCountryOk() (*string, bool)
- func (o *ASNConnection) GetDescription() string
- func (o *ASNConnection) GetDescriptionOk() (*string, bool)
- func (o *ASNConnection) HasAsNumber() bool
- func (o *ASNConnection) HasCountry() bool
- func (o *ASNConnection) HasDescription() bool
- func (o ASNConnection) MarshalJSON() ([]byte, error)
- func (o *ASNConnection) SetAsNumber(v string)
- func (o *ASNConnection) SetCountry(v string)
- func (o *ASNConnection) SetDescription(v string)
- func (o ASNConnection) ToMap() (map[string]interface{}, error)
- type ASNDetails
- func (o *ASNDetails) GetAllocationStatus() string
- func (o *ASNDetails) GetAllocationStatusOk() (*string, bool)
- func (o *ASNDetails) GetAsNumber() string
- func (o *ASNDetails) GetAsNumberOk() (*string, bool)
- func (o *ASNDetails) GetAsnName() string
- func (o *ASNDetails) GetAsnNameOk() (*string, bool)
- func (o *ASNDetails) GetCountry() string
- func (o *ASNDetails) GetCountryOk() (*string, bool)
- func (o *ASNDetails) GetDateAllocated() string
- func (o *ASNDetails) GetDateAllocatedOk() (*string, bool)
- func (o *ASNDetails) GetDomain() string
- func (o *ASNDetails) GetDomainOk() (*string, bool)
- func (o *ASNDetails) GetDownstreams() []ASNConnection
- func (o *ASNDetails) GetDownstreamsOk() ([]ASNConnection, bool)
- func (o *ASNDetails) GetNumOfIpv4Routes() string
- func (o *ASNDetails) GetNumOfIpv4RoutesOk() (*string, bool)
- func (o *ASNDetails) GetNumOfIpv6Routes() string
- func (o *ASNDetails) GetNumOfIpv6RoutesOk() (*string, bool)
- func (o *ASNDetails) GetOrganization() string
- func (o *ASNDetails) GetOrganizationOk() (*string, bool)
- func (o *ASNDetails) GetPeers() []ASNConnection
- func (o *ASNDetails) GetPeersOk() ([]ASNConnection, bool)
- func (o *ASNDetails) GetRir() string
- func (o *ASNDetails) GetRirOk() (*string, bool)
- func (o *ASNDetails) GetRoutes() []string
- func (o *ASNDetails) GetRoutesOk() ([]string, bool)
- func (o *ASNDetails) GetType() string
- func (o *ASNDetails) GetTypeOk() (*string, bool)
- func (o *ASNDetails) GetUpstreams() []ASNConnection
- func (o *ASNDetails) GetUpstreamsOk() ([]ASNConnection, bool)
- func (o *ASNDetails) GetWhoisResponse() string
- func (o *ASNDetails) GetWhoisResponseOk() (*string, bool)
- func (o *ASNDetails) HasAllocationStatus() bool
- func (o *ASNDetails) HasAsNumber() bool
- func (o *ASNDetails) HasAsnName() bool
- func (o *ASNDetails) HasCountry() bool
- func (o *ASNDetails) HasDateAllocated() bool
- func (o *ASNDetails) HasDomain() bool
- func (o *ASNDetails) HasDownstreams() bool
- func (o *ASNDetails) HasNumOfIpv4Routes() bool
- func (o *ASNDetails) HasNumOfIpv6Routes() bool
- func (o *ASNDetails) HasOrganization() bool
- func (o *ASNDetails) HasPeers() bool
- func (o *ASNDetails) HasRir() bool
- func (o *ASNDetails) HasRoutes() bool
- func (o *ASNDetails) HasType() bool
- func (o *ASNDetails) HasUpstreams() bool
- func (o *ASNDetails) HasWhoisResponse() bool
- func (o ASNDetails) MarshalJSON() ([]byte, error)
- func (o *ASNDetails) SetAllocationStatus(v string)
- func (o *ASNDetails) SetAsNumber(v string)
- func (o *ASNDetails) SetAsnName(v string)
- func (o *ASNDetails) SetCountry(v string)
- func (o *ASNDetails) SetDateAllocated(v string)
- func (o *ASNDetails) SetDomain(v string)
- func (o *ASNDetails) SetDownstreams(v []ASNConnection)
- func (o *ASNDetails) SetNumOfIpv4Routes(v string)
- func (o *ASNDetails) SetNumOfIpv6Routes(v string)
- func (o *ASNDetails) SetOrganization(v string)
- func (o *ASNDetails) SetPeers(v []ASNConnection)
- func (o *ASNDetails) SetRir(v string)
- func (o *ASNDetails) SetRoutes(v []string)
- func (o *ASNDetails) SetType(v string)
- func (o *ASNDetails) SetUpstreams(v []ASNConnection)
- func (o *ASNDetails) SetWhoisResponse(v string)
- func (o ASNDetails) ToMap() (map[string]interface{}, error)
- type ASNLookupAPI
- type ASNLookupAPIService
- type ASNResponse
- func (o *ASNResponse) GetAsn() ASNDetails
- func (o *ASNResponse) GetAsnOk() (*ASNDetails, bool)
- func (o *ASNResponse) GetIp() string
- func (o *ASNResponse) GetIpOk() (*string, bool)
- func (o *ASNResponse) HasAsn() bool
- func (o *ASNResponse) HasIp() bool
- func (o ASNResponse) MarshalJSON() ([]byte, error)
- func (o *ASNResponse) SetAsn(v ASNDetails)
- func (o *ASNResponse) SetIp(v string)
- func (o ASNResponse) ToMap() (map[string]interface{}, error)
- type ASNResponseXML
- func (o *ASNResponseXML) GetAsn() ASNResponseXMLAsn
- func (o *ASNResponseXML) GetAsnOk() (*ASNResponseXMLAsn, bool)
- func (o *ASNResponseXML) GetIp() string
- func (o *ASNResponseXML) GetIpOk() (*string, bool)
- func (o *ASNResponseXML) HasAsn() bool
- func (o *ASNResponseXML) HasIp() bool
- func (o ASNResponseXML) MarshalJSON() ([]byte, error)
- func (o *ASNResponseXML) SetAsn(v ASNResponseXMLAsn)
- func (o *ASNResponseXML) SetIp(v string)
- func (o ASNResponseXML) ToMap() (map[string]interface{}, error)
- type ASNResponseXMLAsn
- func (o *ASNResponseXMLAsn) GetAllocationStatus() string
- func (o *ASNResponseXMLAsn) GetAllocationStatusOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetAsNumber() string
- func (o *ASNResponseXMLAsn) GetAsNumberOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetAsnName() string
- func (o *ASNResponseXMLAsn) GetAsnNameOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetCountry() string
- func (o *ASNResponseXMLAsn) GetCountryOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetDateAllocated() string
- func (o *ASNResponseXMLAsn) GetDateAllocatedOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetDomain() string
- func (o *ASNResponseXMLAsn) GetDomainOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetDownstreams() []ASNConnection
- func (o *ASNResponseXMLAsn) GetDownstreamsOk() ([]ASNConnection, bool)
- func (o *ASNResponseXMLAsn) GetNumOfIpv4Routes() int32
- func (o *ASNResponseXMLAsn) GetNumOfIpv4RoutesOk() (*int32, bool)
- func (o *ASNResponseXMLAsn) GetNumOfIpv6Routes() int32
- func (o *ASNResponseXMLAsn) GetNumOfIpv6RoutesOk() (*int32, bool)
- func (o *ASNResponseXMLAsn) GetOrganization() string
- func (o *ASNResponseXMLAsn) GetOrganizationOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetPeers() []ASNConnection
- func (o *ASNResponseXMLAsn) GetPeersOk() ([]ASNConnection, bool)
- func (o *ASNResponseXMLAsn) GetRir() string
- func (o *ASNResponseXMLAsn) GetRirOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetRoutes() []string
- func (o *ASNResponseXMLAsn) GetRoutesOk() ([]string, bool)
- func (o *ASNResponseXMLAsn) GetType() string
- func (o *ASNResponseXMLAsn) GetTypeOk() (*string, bool)
- func (o *ASNResponseXMLAsn) GetUpstreams() []ASNConnection
- func (o *ASNResponseXMLAsn) GetUpstreamsOk() ([]ASNConnection, bool)
- func (o *ASNResponseXMLAsn) GetWhoisResponse() string
- func (o *ASNResponseXMLAsn) GetWhoisResponseOk() (*string, bool)
- func (o *ASNResponseXMLAsn) HasAllocationStatus() bool
- func (o *ASNResponseXMLAsn) HasAsNumber() bool
- func (o *ASNResponseXMLAsn) HasAsnName() bool
- func (o *ASNResponseXMLAsn) HasCountry() bool
- func (o *ASNResponseXMLAsn) HasDateAllocated() bool
- func (o *ASNResponseXMLAsn) HasDomain() bool
- func (o *ASNResponseXMLAsn) HasDownstreams() bool
- func (o *ASNResponseXMLAsn) HasNumOfIpv4Routes() bool
- func (o *ASNResponseXMLAsn) HasNumOfIpv6Routes() bool
- func (o *ASNResponseXMLAsn) HasOrganization() bool
- func (o *ASNResponseXMLAsn) HasPeers() bool
- func (o *ASNResponseXMLAsn) HasRir() bool
- func (o *ASNResponseXMLAsn) HasRoutes() bool
- func (o *ASNResponseXMLAsn) HasType() bool
- func (o *ASNResponseXMLAsn) HasUpstreams() bool
- func (o *ASNResponseXMLAsn) HasWhoisResponse() bool
- func (o ASNResponseXMLAsn) MarshalJSON() ([]byte, error)
- func (o *ASNResponseXMLAsn) SetAllocationStatus(v string)
- func (o *ASNResponseXMLAsn) SetAsNumber(v string)
- func (o *ASNResponseXMLAsn) SetAsnName(v string)
- func (o *ASNResponseXMLAsn) SetCountry(v string)
- func (o *ASNResponseXMLAsn) SetDateAllocated(v string)
- func (o *ASNResponseXMLAsn) SetDomain(v string)
- func (o *ASNResponseXMLAsn) SetDownstreams(v []ASNConnection)
- func (o *ASNResponseXMLAsn) SetNumOfIpv4Routes(v int32)
- func (o *ASNResponseXMLAsn) SetNumOfIpv6Routes(v int32)
- func (o *ASNResponseXMLAsn) SetOrganization(v string)
- func (o *ASNResponseXMLAsn) SetPeers(v []ASNConnection)
- func (o *ASNResponseXMLAsn) SetRir(v string)
- func (o *ASNResponseXMLAsn) SetRoutes(v []string)
- func (o *ASNResponseXMLAsn) SetType(v string)
- func (o *ASNResponseXMLAsn) SetUpstreams(v []ASNConnection)
- func (o *ASNResponseXMLAsn) SetWhoisResponse(v string)
- func (o ASNResponseXMLAsn) ToMap() (map[string]interface{}, error)
- type Abuse
- func (o *Abuse) GetAddress() string
- func (o *Abuse) GetAddressOk() (*string, bool)
- func (o *Abuse) GetCountry() string
- func (o *Abuse) GetCountryOk() (*string, bool)
- func (o *Abuse) GetEmails() []string
- func (o *Abuse) GetEmailsOk() ([]string, bool)
- func (o *Abuse) GetHandle() string
- func (o *Abuse) GetHandleOk() (*string, bool)
- func (o *Abuse) GetKind() string
- func (o *Abuse) GetKindOk() (*string, bool)
- func (o *Abuse) GetName() string
- func (o *Abuse) GetNameOk() (*string, bool)
- func (o *Abuse) GetOrganization() string
- func (o *Abuse) GetOrganizationOk() (*string, bool)
- func (o *Abuse) GetPhoneNumbers() []string
- func (o *Abuse) GetPhoneNumbersOk() ([]string, bool)
- func (o *Abuse) GetRole() string
- func (o *Abuse) GetRoleOk() (*string, bool)
- func (o *Abuse) GetRoute() string
- func (o *Abuse) GetRouteOk() (*string, bool)
- func (o *Abuse) HasAddress() bool
- func (o *Abuse) HasCountry() bool
- func (o *Abuse) HasEmails() bool
- func (o *Abuse) HasHandle() bool
- func (o *Abuse) HasKind() bool
- func (o *Abuse) HasName() bool
- func (o *Abuse) HasOrganization() bool
- func (o *Abuse) HasPhoneNumbers() bool
- func (o *Abuse) HasRole() bool
- func (o *Abuse) HasRoute() bool
- func (o Abuse) MarshalJSON() ([]byte, error)
- func (o *Abuse) SetAddress(v string)
- func (o *Abuse) SetCountry(v string)
- func (o *Abuse) SetEmails(v []string)
- func (o *Abuse) SetHandle(v string)
- func (o *Abuse) SetKind(v string)
- func (o *Abuse) SetName(v string)
- func (o *Abuse) SetOrganization(v string)
- func (o *Abuse) SetPhoneNumbers(v []string)
- func (o *Abuse) SetRole(v string)
- func (o *Abuse) SetRoute(v string)
- func (o Abuse) ToMap() (map[string]interface{}, error)
- type AbuseContactAPI
- type AbuseContactAPIService
- type AbuseResponse
- func (o *AbuseResponse) GetAbuse() Abuse
- func (o *AbuseResponse) GetAbuseOk() (*Abuse, bool)
- func (o *AbuseResponse) GetIp() string
- func (o *AbuseResponse) GetIpOk() (*string, bool)
- func (o *AbuseResponse) HasAbuse() bool
- func (o *AbuseResponse) HasIp() bool
- func (o AbuseResponse) MarshalJSON() ([]byte, error)
- func (o *AbuseResponse) SetAbuse(v Abuse)
- func (o *AbuseResponse) SetIp(v string)
- func (o AbuseResponse) ToMap() (map[string]interface{}, error)
- type AbuseResponseXML
- func (o *AbuseResponseXML) GetAbuse() Abuse
- func (o *AbuseResponseXML) GetAbuseOk() (*Abuse, bool)
- func (o *AbuseResponseXML) GetIp() string
- func (o *AbuseResponseXML) GetIpOk() (*string, bool)
- func (o *AbuseResponseXML) HasAbuse() bool
- func (o *AbuseResponseXML) HasIp() bool
- func (o AbuseResponseXML) MarshalJSON() ([]byte, error)
- func (o *AbuseResponseXML) SetAbuse(v Abuse)
- func (o *AbuseResponseXML) SetIp(v string)
- func (o AbuseResponseXML) ToMap() (map[string]interface{}, error)
- type ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) Execute() (*TimeConversionResponse, *http.Response, error)
- func (r ApiConvertTimeBetweenTimezonesRequest) IataFrom(iataFrom string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) IataTo(iataTo string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) IcaoFrom(icaoFrom string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) IcaoTo(icaoTo string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LatFrom(latFrom float32) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LatTo(latTo float32) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LocationFrom(locationFrom string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LocationTo(locationTo string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LocodeFrom(locodeFrom string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LocodeTo(locodeTo string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LongFrom(longFrom float32) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) LongTo(longTo float32) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) Time(time string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) TzFrom(tzFrom string) ApiConvertTimeBetweenTimezonesRequest
- func (r ApiConvertTimeBetweenTimezonesRequest) TzTo(tzTo string) ApiConvertTimeBetweenTimezonesRequest
- type ApiGetAbuseContactInfoRequest
- func (r ApiGetAbuseContactInfoRequest) Excludes(excludes string) ApiGetAbuseContactInfoRequest
- func (r ApiGetAbuseContactInfoRequest) Execute() (*AbuseResponse, *http.Response, error)
- func (r ApiGetAbuseContactInfoRequest) Fields(fields string) ApiGetAbuseContactInfoRequest
- func (r ApiGetAbuseContactInfoRequest) Ip(ip string) ApiGetAbuseContactInfoRequest
- type ApiGetAsnInfoRequest
- func (r ApiGetAsnInfoRequest) Asn(asn int32) ApiGetAsnInfoRequest
- func (r ApiGetAsnInfoRequest) Excludes(excludes string) ApiGetAsnInfoRequest
- func (r ApiGetAsnInfoRequest) Execute() (*ASNResponse, *http.Response, error)
- func (r ApiGetAsnInfoRequest) Fields(fields string) ApiGetAsnInfoRequest
- func (r ApiGetAsnInfoRequest) Include(include string) ApiGetAsnInfoRequest
- func (r ApiGetAsnInfoRequest) Ip(ip string) ApiGetAsnInfoRequest
- type ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Date(date string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Elevation(elevation float64) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Execute() (*AstronomyResponse, *http.Response, error)
- func (r ApiGetAstronomyDetailsRequest) Ip(ip string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Lang(lang string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Lat(lat string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Location(location string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Long(long string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) Output(output string) ApiGetAstronomyDetailsRequest
- func (r ApiGetAstronomyDetailsRequest) TimeZone(timeZone string) ApiGetAstronomyDetailsRequest
- type ApiGetBulkIpGeolocationRequest
- func (r ApiGetBulkIpGeolocationRequest) Excludes(excludes string) ApiGetBulkIpGeolocationRequest
- func (r ApiGetBulkIpGeolocationRequest) Execute() ([]BulkIPGeolocation, *http.Response, error)
- func (r ApiGetBulkIpGeolocationRequest) Fields(fields string) ApiGetBulkIpGeolocationRequest
- func (r ApiGetBulkIpGeolocationRequest) Include(include string) ApiGetBulkIpGeolocationRequest
- func (r ApiGetBulkIpGeolocationRequest) Ips(ips []string) ApiGetBulkIpGeolocationRequest
- func (r ApiGetBulkIpGeolocationRequest) Lang(lang string) ApiGetBulkIpGeolocationRequest
- func (r ApiGetBulkIpGeolocationRequest) Output(output string) ApiGetBulkIpGeolocationRequest
- type ApiGetBulkIpSecurityInfoRequest
- func (r ApiGetBulkIpSecurityInfoRequest) Excludes(excludes string) ApiGetBulkIpSecurityInfoRequest
- func (r ApiGetBulkIpSecurityInfoRequest) Execute() ([]BulkIpSecurity, *http.Response, error)
- func (r ApiGetBulkIpSecurityInfoRequest) Fields(fields string) ApiGetBulkIpSecurityInfoRequest
- func (r ApiGetBulkIpSecurityInfoRequest) Include(include string) ApiGetBulkIpSecurityInfoRequest
- func (r ApiGetBulkIpSecurityInfoRequest) Ips(ips []string) ApiGetBulkIpSecurityInfoRequest
- func (r ApiGetBulkIpSecurityInfoRequest) Lang(lang string) ApiGetBulkIpSecurityInfoRequest
- func (r ApiGetBulkIpSecurityInfoRequest) Output(output string) ApiGetBulkIpSecurityInfoRequest
- type ApiGetIpGeolocationRequest
- func (r ApiGetIpGeolocationRequest) Excludes(excludes string) ApiGetIpGeolocationRequest
- func (r ApiGetIpGeolocationRequest) Execute() (*GeolocationResponse, *http.Response, error)
- func (r ApiGetIpGeolocationRequest) Fields(fields string) ApiGetIpGeolocationRequest
- func (r ApiGetIpGeolocationRequest) Include(include string) ApiGetIpGeolocationRequest
- func (r ApiGetIpGeolocationRequest) Ip(ip string) ApiGetIpGeolocationRequest
- func (r ApiGetIpGeolocationRequest) Lang(lang string) ApiGetIpGeolocationRequest
- func (r ApiGetIpGeolocationRequest) Output(output string) ApiGetIpGeolocationRequest
- type ApiGetIpSecurityInfoRequest
- func (r ApiGetIpSecurityInfoRequest) Excludes(excludes string) ApiGetIpSecurityInfoRequest
- func (r ApiGetIpSecurityInfoRequest) Execute() (*SecurityAPIResponse, *http.Response, error)
- func (r ApiGetIpSecurityInfoRequest) Fields(fields string) ApiGetIpSecurityInfoRequest
- func (r ApiGetIpSecurityInfoRequest) Include(include string) ApiGetIpSecurityInfoRequest
- func (r ApiGetIpSecurityInfoRequest) Ip(ip string) ApiGetIpSecurityInfoRequest
- func (r ApiGetIpSecurityInfoRequest) Lang(lang string) ApiGetIpSecurityInfoRequest
- func (r ApiGetIpSecurityInfoRequest) Output(output string) ApiGetIpSecurityInfoRequest
- type ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Execute() (*TimeZoneDetailedResponse, *http.Response, error)
- func (r ApiGetTimezoneInfoRequest) IataCode(iataCode string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) IcaoCode(icaoCode string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Ip(ip string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Lang(lang string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Lat(lat float32) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) LoCode(loCode string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Location(location string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Long(long float32) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Output(output string) ApiGetTimezoneInfoRequest
- func (r ApiGetTimezoneInfoRequest) Tz(tz string) ApiGetTimezoneInfoRequest
- type ApiGetUserAgentDetailsRequest
- type ApiParseBulkUserAgentStringsRequest
- func (r ApiParseBulkUserAgentStringsRequest) Execute() ([]UserAgentData, *http.Response, error)
- func (r ApiParseBulkUserAgentStringsRequest) Output(output string) ApiParseBulkUserAgentStringsRequest
- func (r ApiParseBulkUserAgentStringsRequest) UserAgents(userAgents []string) ApiParseBulkUserAgentStringsRequest
- type ApiParseUserAgentStringRequest
- func (r ApiParseUserAgentStringRequest) Execute() (*UserAgentData, *http.Response, error)
- func (r ApiParseUserAgentStringRequest) Output(output string) ApiParseUserAgentStringRequest
- func (r ApiParseUserAgentStringRequest) ParseUserAgentStringRequest(parseUserAgentStringRequest ParseUserAgentStringRequest) ApiParseUserAgentStringRequest
- type Astronomy
- func (o *Astronomy) GetCurrentTime() string
- func (o *Astronomy) GetCurrentTimeOk() (*string, bool)
- func (o *Astronomy) GetDate() string
- func (o *Astronomy) GetDateOk() (*string, bool)
- func (o *Astronomy) GetDayLength() string
- func (o *Astronomy) GetDayLengthOk() (*string, bool)
- func (o *Astronomy) GetEvening() AstronomyEvening
- func (o *Astronomy) GetEveningOk() (*AstronomyEvening, bool)
- func (o *Astronomy) GetMidNight() string
- func (o *Astronomy) GetMidNightOk() (*string, bool)
- func (o *Astronomy) GetMoonAltitude() float32
- func (o *Astronomy) GetMoonAltitudeOk() (*float32, bool)
- func (o *Astronomy) GetMoonAngle() float32
- func (o *Astronomy) GetMoonAngleOk() (*float32, bool)
- func (o *Astronomy) GetMoonAzimuth() float32
- func (o *Astronomy) GetMoonAzimuthOk() (*float32, bool)
- func (o *Astronomy) GetMoonDistance() float32
- func (o *Astronomy) GetMoonDistanceOk() (*float32, bool)
- func (o *Astronomy) GetMoonIlluminationPercentage() string
- func (o *Astronomy) GetMoonIlluminationPercentageOk() (*string, bool)
- func (o *Astronomy) GetMoonParallacticAngle() float32
- func (o *Astronomy) GetMoonParallacticAngleOk() (*float32, bool)
- func (o *Astronomy) GetMoonPhase() string
- func (o *Astronomy) GetMoonPhaseOk() (*string, bool)
- func (o *Astronomy) GetMoonStatus() string
- func (o *Astronomy) GetMoonStatusOk() (*string, bool)
- func (o *Astronomy) GetMoonrise() string
- func (o *Astronomy) GetMoonriseOk() (*string, bool)
- func (o *Astronomy) GetMoonset() string
- func (o *Astronomy) GetMoonsetOk() (*string, bool)
- func (o *Astronomy) GetMorning() AstronomyMorning
- func (o *Astronomy) GetMorningOk() (*AstronomyMorning, bool)
- func (o *Astronomy) GetNightBegin() string
- func (o *Astronomy) GetNightBeginOk() (*string, bool)
- func (o *Astronomy) GetNightEnd() string
- func (o *Astronomy) GetNightEndOk() (*string, bool)
- func (o *Astronomy) GetSolarNoon() string
- func (o *Astronomy) GetSolarNoonOk() (*string, bool)
- func (o *Astronomy) GetSunAltitude() float32
- func (o *Astronomy) GetSunAltitudeOk() (*float32, bool)
- func (o *Astronomy) GetSunAzimuth() float32
- func (o *Astronomy) GetSunAzimuthOk() (*float32, bool)
- func (o *Astronomy) GetSunDistance() float32
- func (o *Astronomy) GetSunDistanceOk() (*float32, bool)
- func (o *Astronomy) GetSunStatus() string
- func (o *Astronomy) GetSunStatusOk() (*string, bool)
- func (o *Astronomy) GetSunrise() string
- func (o *Astronomy) GetSunriseOk() (*string, bool)
- func (o *Astronomy) GetSunset() string
- func (o *Astronomy) GetSunsetOk() (*string, bool)
- func (o *Astronomy) GetTimeZone() string
- func (o *Astronomy) GetTimeZoneOk() (*string, bool)
- func (o *Astronomy) HasCurrentTime() bool
- func (o *Astronomy) HasDate() bool
- func (o *Astronomy) HasDayLength() bool
- func (o *Astronomy) HasEvening() bool
- func (o *Astronomy) HasMidNight() bool
- func (o *Astronomy) HasMoonAltitude() bool
- func (o *Astronomy) HasMoonAngle() bool
- func (o *Astronomy) HasMoonAzimuth() bool
- func (o *Astronomy) HasMoonDistance() bool
- func (o *Astronomy) HasMoonIlluminationPercentage() bool
- func (o *Astronomy) HasMoonParallacticAngle() bool
- func (o *Astronomy) HasMoonPhase() bool
- func (o *Astronomy) HasMoonStatus() bool
- func (o *Astronomy) HasMoonrise() bool
- func (o *Astronomy) HasMoonset() bool
- func (o *Astronomy) HasMorning() bool
- func (o *Astronomy) HasNightBegin() bool
- func (o *Astronomy) HasNightEnd() bool
- func (o *Astronomy) HasSolarNoon() bool
- func (o *Astronomy) HasSunAltitude() bool
- func (o *Astronomy) HasSunAzimuth() bool
- func (o *Astronomy) HasSunDistance() bool
- func (o *Astronomy) HasSunStatus() bool
- func (o *Astronomy) HasSunrise() bool
- func (o *Astronomy) HasSunset() bool
- func (o *Astronomy) HasTimeZone() bool
- func (o Astronomy) MarshalJSON() ([]byte, error)
- func (o *Astronomy) SetCurrentTime(v string)
- func (o *Astronomy) SetDate(v string)
- func (o *Astronomy) SetDayLength(v string)
- func (o *Astronomy) SetEvening(v AstronomyEvening)
- func (o *Astronomy) SetMidNight(v string)
- func (o *Astronomy) SetMoonAltitude(v float32)
- func (o *Astronomy) SetMoonAngle(v float32)
- func (o *Astronomy) SetMoonAzimuth(v float32)
- func (o *Astronomy) SetMoonDistance(v float32)
- func (o *Astronomy) SetMoonIlluminationPercentage(v string)
- func (o *Astronomy) SetMoonParallacticAngle(v float32)
- func (o *Astronomy) SetMoonPhase(v string)
- func (o *Astronomy) SetMoonStatus(v string)
- func (o *Astronomy) SetMoonrise(v string)
- func (o *Astronomy) SetMoonset(v string)
- func (o *Astronomy) SetMorning(v AstronomyMorning)
- func (o *Astronomy) SetNightBegin(v string)
- func (o *Astronomy) SetNightEnd(v string)
- func (o *Astronomy) SetSolarNoon(v string)
- func (o *Astronomy) SetSunAltitude(v float32)
- func (o *Astronomy) SetSunAzimuth(v float32)
- func (o *Astronomy) SetSunDistance(v float32)
- func (o *Astronomy) SetSunStatus(v string)
- func (o *Astronomy) SetSunrise(v string)
- func (o *Astronomy) SetSunset(v string)
- func (o *Astronomy) SetTimeZone(v string)
- func (o Astronomy) ToMap() (map[string]interface{}, error)
- type AstronomyAPI
- type AstronomyAPIService
- type AstronomyEvening
- func (o *AstronomyEvening) GetAstronomicalTwilightBegin() string
- func (o *AstronomyEvening) GetAstronomicalTwilightBeginOk() (*string, bool)
- func (o *AstronomyEvening) GetAstronomicalTwilightEnd() string
- func (o *AstronomyEvening) GetAstronomicalTwilightEndOk() (*string, bool)
- func (o *AstronomyEvening) GetBlueHourBegin() string
- func (o *AstronomyEvening) GetBlueHourBeginOk() (*string, bool)
- func (o *AstronomyEvening) GetBlueHourEnd() string
- func (o *AstronomyEvening) GetBlueHourEndOk() (*string, bool)
- func (o *AstronomyEvening) GetCivilTwilightBegin() string
- func (o *AstronomyEvening) GetCivilTwilightBeginOk() (*string, bool)
- func (o *AstronomyEvening) GetCivilTwilightEnd() string
- func (o *AstronomyEvening) GetCivilTwilightEndOk() (*string, bool)
- func (o *AstronomyEvening) GetGoldenHourBegin() string
- func (o *AstronomyEvening) GetGoldenHourBeginOk() (*string, bool)
- func (o *AstronomyEvening) GetGoldenHourEnd() string
- func (o *AstronomyEvening) GetGoldenHourEndOk() (*string, bool)
- func (o *AstronomyEvening) GetNauticalTwilightBegin() string
- func (o *AstronomyEvening) GetNauticalTwilightBeginOk() (*string, bool)
- func (o *AstronomyEvening) GetNauticalTwilightEnd() string
- func (o *AstronomyEvening) GetNauticalTwilightEndOk() (*string, bool)
- func (o *AstronomyEvening) HasAstronomicalTwilightBegin() bool
- func (o *AstronomyEvening) HasAstronomicalTwilightEnd() bool
- func (o *AstronomyEvening) HasBlueHourBegin() bool
- func (o *AstronomyEvening) HasBlueHourEnd() bool
- func (o *AstronomyEvening) HasCivilTwilightBegin() bool
- func (o *AstronomyEvening) HasCivilTwilightEnd() bool
- func (o *AstronomyEvening) HasGoldenHourBegin() bool
- func (o *AstronomyEvening) HasGoldenHourEnd() bool
- func (o *AstronomyEvening) HasNauticalTwilightBegin() bool
- func (o *AstronomyEvening) HasNauticalTwilightEnd() bool
- func (o AstronomyEvening) MarshalJSON() ([]byte, error)
- func (o *AstronomyEvening) SetAstronomicalTwilightBegin(v string)
- func (o *AstronomyEvening) SetAstronomicalTwilightEnd(v string)
- func (o *AstronomyEvening) SetBlueHourBegin(v string)
- func (o *AstronomyEvening) SetBlueHourEnd(v string)
- func (o *AstronomyEvening) SetCivilTwilightBegin(v string)
- func (o *AstronomyEvening) SetCivilTwilightEnd(v string)
- func (o *AstronomyEvening) SetGoldenHourBegin(v string)
- func (o *AstronomyEvening) SetGoldenHourEnd(v string)
- func (o *AstronomyEvening) SetNauticalTwilightBegin(v string)
- func (o *AstronomyEvening) SetNauticalTwilightEnd(v string)
- func (o AstronomyEvening) ToMap() (map[string]interface{}, error)
- type AstronomyLocation
- func (o *AstronomyLocation) GetCity() string
- func (o *AstronomyLocation) GetCityOk() (*string, bool)
- func (o *AstronomyLocation) GetContinentCode() string
- func (o *AstronomyLocation) GetContinentCodeOk() (*string, bool)
- func (o *AstronomyLocation) GetContinentName() string
- func (o *AstronomyLocation) GetContinentNameOk() (*string, bool)
- func (o *AstronomyLocation) GetCountryCode2() string
- func (o *AstronomyLocation) GetCountryCode2Ok() (*string, bool)
- func (o *AstronomyLocation) GetCountryCode3() string
- func (o *AstronomyLocation) GetCountryCode3Ok() (*string, bool)
- func (o *AstronomyLocation) GetCountryName() string
- func (o *AstronomyLocation) GetCountryNameOfficial() string
- func (o *AstronomyLocation) GetCountryNameOfficialOk() (*string, bool)
- func (o *AstronomyLocation) GetCountryNameOk() (*string, bool)
- func (o *AstronomyLocation) GetDistrict() string
- func (o *AstronomyLocation) GetDistrictOk() (*string, bool)
- func (o *AstronomyLocation) GetElevation() string
- func (o *AstronomyLocation) GetElevationOk() (*string, bool)
- func (o *AstronomyLocation) GetIsEu() bool
- func (o *AstronomyLocation) GetIsEuOk() (*bool, bool)
- func (o *AstronomyLocation) GetLatitude() string
- func (o *AstronomyLocation) GetLatitudeOk() (*string, bool)
- func (o *AstronomyLocation) GetLocality() string
- func (o *AstronomyLocation) GetLocalityOk() (*string, bool)
- func (o *AstronomyLocation) GetLocationString() string
- func (o *AstronomyLocation) GetLocationStringOk() (*string, bool)
- func (o *AstronomyLocation) GetLongitude() string
- func (o *AstronomyLocation) GetLongitudeOk() (*string, bool)
- func (o *AstronomyLocation) GetStateCode() string
- func (o *AstronomyLocation) GetStateCodeOk() (*string, bool)
- func (o *AstronomyLocation) GetStateProv() string
- func (o *AstronomyLocation) GetStateProvOk() (*string, bool)
- func (o *AstronomyLocation) GetZipcode() string
- func (o *AstronomyLocation) GetZipcodeOk() (*string, bool)
- func (o *AstronomyLocation) HasCity() bool
- func (o *AstronomyLocation) HasContinentCode() bool
- func (o *AstronomyLocation) HasContinentName() bool
- func (o *AstronomyLocation) HasCountryCode2() bool
- func (o *AstronomyLocation) HasCountryCode3() bool
- func (o *AstronomyLocation) HasCountryName() bool
- func (o *AstronomyLocation) HasCountryNameOfficial() bool
- func (o *AstronomyLocation) HasDistrict() bool
- func (o *AstronomyLocation) HasElevation() bool
- func (o *AstronomyLocation) HasIsEu() bool
- func (o *AstronomyLocation) HasLatitude() bool
- func (o *AstronomyLocation) HasLocality() bool
- func (o *AstronomyLocation) HasLocationString() bool
- func (o *AstronomyLocation) HasLongitude() bool
- func (o *AstronomyLocation) HasStateCode() bool
- func (o *AstronomyLocation) HasStateProv() bool
- func (o *AstronomyLocation) HasZipcode() bool
- func (o AstronomyLocation) MarshalJSON() ([]byte, error)
- func (o *AstronomyLocation) SetCity(v string)
- func (o *AstronomyLocation) SetContinentCode(v string)
- func (o *AstronomyLocation) SetContinentName(v string)
- func (o *AstronomyLocation) SetCountryCode2(v string)
- func (o *AstronomyLocation) SetCountryCode3(v string)
- func (o *AstronomyLocation) SetCountryName(v string)
- func (o *AstronomyLocation) SetCountryNameOfficial(v string)
- func (o *AstronomyLocation) SetDistrict(v string)
- func (o *AstronomyLocation) SetElevation(v string)
- func (o *AstronomyLocation) SetIsEu(v bool)
- func (o *AstronomyLocation) SetLatitude(v string)
- func (o *AstronomyLocation) SetLocality(v string)
- func (o *AstronomyLocation) SetLocationString(v string)
- func (o *AstronomyLocation) SetLongitude(v string)
- func (o *AstronomyLocation) SetStateCode(v string)
- func (o *AstronomyLocation) SetStateProv(v string)
- func (o *AstronomyLocation) SetZipcode(v string)
- func (o AstronomyLocation) ToMap() (map[string]interface{}, error)
- type AstronomyMorning
- func (o *AstronomyMorning) GetAstronomicalTwilightBegin() string
- func (o *AstronomyMorning) GetAstronomicalTwilightBeginOk() (*string, bool)
- func (o *AstronomyMorning) GetAstronomicalTwilightEnd() string
- func (o *AstronomyMorning) GetAstronomicalTwilightEndOk() (*string, bool)
- func (o *AstronomyMorning) GetBlueHourBegin() string
- func (o *AstronomyMorning) GetBlueHourBeginOk() (*string, bool)
- func (o *AstronomyMorning) GetBlueHourEnd() string
- func (o *AstronomyMorning) GetBlueHourEndOk() (*string, bool)
- func (o *AstronomyMorning) GetCivilTwilightBegin() string
- func (o *AstronomyMorning) GetCivilTwilightBeginOk() (*string, bool)
- func (o *AstronomyMorning) GetCivilTwilightEnd() string
- func (o *AstronomyMorning) GetCivilTwilightEndOk() (*string, bool)
- func (o *AstronomyMorning) GetGoldenHourBegin() string
- func (o *AstronomyMorning) GetGoldenHourBeginOk() (*string, bool)
- func (o *AstronomyMorning) GetGoldenHourEnd() string
- func (o *AstronomyMorning) GetGoldenHourEndOk() (*string, bool)
- func (o *AstronomyMorning) GetNauticalTwilightBegin() string
- func (o *AstronomyMorning) GetNauticalTwilightBeginOk() (*string, bool)
- func (o *AstronomyMorning) GetNauticalTwilightEnd() string
- func (o *AstronomyMorning) GetNauticalTwilightEndOk() (*string, bool)
- func (o *AstronomyMorning) HasAstronomicalTwilightBegin() bool
- func (o *AstronomyMorning) HasAstronomicalTwilightEnd() bool
- func (o *AstronomyMorning) HasBlueHourBegin() bool
- func (o *AstronomyMorning) HasBlueHourEnd() bool
- func (o *AstronomyMorning) HasCivilTwilightBegin() bool
- func (o *AstronomyMorning) HasCivilTwilightEnd() bool
- func (o *AstronomyMorning) HasGoldenHourBegin() bool
- func (o *AstronomyMorning) HasGoldenHourEnd() bool
- func (o *AstronomyMorning) HasNauticalTwilightBegin() bool
- func (o *AstronomyMorning) HasNauticalTwilightEnd() bool
- func (o AstronomyMorning) MarshalJSON() ([]byte, error)
- func (o *AstronomyMorning) SetAstronomicalTwilightBegin(v string)
- func (o *AstronomyMorning) SetAstronomicalTwilightEnd(v string)
- func (o *AstronomyMorning) SetBlueHourBegin(v string)
- func (o *AstronomyMorning) SetBlueHourEnd(v string)
- func (o *AstronomyMorning) SetCivilTwilightBegin(v string)
- func (o *AstronomyMorning) SetCivilTwilightEnd(v string)
- func (o *AstronomyMorning) SetGoldenHourBegin(v string)
- func (o *AstronomyMorning) SetGoldenHourEnd(v string)
- func (o *AstronomyMorning) SetNauticalTwilightBegin(v string)
- func (o *AstronomyMorning) SetNauticalTwilightEnd(v string)
- func (o AstronomyMorning) ToMap() (map[string]interface{}, error)
- type AstronomyResponse
- func (o *AstronomyResponse) GetAstronomy() Astronomy
- func (o *AstronomyResponse) GetAstronomyOk() (*Astronomy, bool)
- func (o *AstronomyResponse) GetIp() string
- func (o *AstronomyResponse) GetIpOk() (*string, bool)
- func (o *AstronomyResponse) GetLocation() AstronomyLocation
- func (o *AstronomyResponse) GetLocationOk() (*AstronomyLocation, bool)
- func (o *AstronomyResponse) HasAstronomy() bool
- func (o *AstronomyResponse) HasIp() bool
- func (o *AstronomyResponse) HasLocation() bool
- func (o AstronomyResponse) MarshalJSON() ([]byte, error)
- func (o *AstronomyResponse) SetAstronomy(v Astronomy)
- func (o *AstronomyResponse) SetIp(v string)
- func (o *AstronomyResponse) SetLocation(v AstronomyLocation)
- func (o AstronomyResponse) ToMap() (map[string]interface{}, error)
- type AstronomyXMLResponse
- func (o *AstronomyXMLResponse) GetAstronomy() Astronomy
- func (o *AstronomyXMLResponse) GetAstronomyOk() (*Astronomy, bool)
- func (o *AstronomyXMLResponse) GetIp() string
- func (o *AstronomyXMLResponse) GetIpOk() (*string, bool)
- func (o *AstronomyXMLResponse) GetLocation() TimezoneLocation
- func (o *AstronomyXMLResponse) GetLocationOk() (*TimezoneLocation, bool)
- func (o *AstronomyXMLResponse) HasAstronomy() bool
- func (o *AstronomyXMLResponse) HasIp() bool
- func (o *AstronomyXMLResponse) HasLocation() bool
- func (o AstronomyXMLResponse) MarshalJSON() ([]byte, error)
- func (o *AstronomyXMLResponse) SetAstronomy(v Astronomy)
- func (o *AstronomyXMLResponse) SetIp(v string)
- func (o *AstronomyXMLResponse) SetLocation(v TimezoneLocation)
- func (o AstronomyXMLResponse) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type BulkIPGeolocation
- type BulkIpSecurity
- type Configuration
- type CountryMetadata
- func (o *CountryMetadata) GetCallingCode() string
- func (o *CountryMetadata) GetCallingCodeOk() (*string, bool)
- func (o *CountryMetadata) GetLanguages() []string
- func (o *CountryMetadata) GetLanguagesOk() ([]string, bool)
- func (o *CountryMetadata) GetTld() string
- func (o *CountryMetadata) GetTldOk() (*string, bool)
- func (o *CountryMetadata) HasCallingCode() bool
- func (o *CountryMetadata) HasLanguages() bool
- func (o *CountryMetadata) HasTld() bool
- func (o CountryMetadata) MarshalJSON() ([]byte, error)
- func (o *CountryMetadata) SetCallingCode(v string)
- func (o *CountryMetadata) SetLanguages(v []string)
- func (o *CountryMetadata) SetTld(v string)
- func (o CountryMetadata) ToMap() (map[string]interface{}, error)
- type Currency
- func (o *Currency) GetCode() string
- func (o *Currency) GetCodeOk() (*string, bool)
- func (o *Currency) GetName() string
- func (o *Currency) GetNameOk() (*string, bool)
- func (o *Currency) GetSymbol() string
- func (o *Currency) GetSymbolOk() (*string, bool)
- func (o *Currency) HasCode() bool
- func (o *Currency) HasName() bool
- func (o *Currency) HasSymbol() bool
- func (o Currency) MarshalJSON() ([]byte, error)
- func (o *Currency) SetCode(v string)
- func (o *Currency) SetName(v string)
- func (o *Currency) SetSymbol(v string)
- func (o Currency) ToMap() (map[string]interface{}, error)
- type ErrorResponse
- func (o *ErrorResponse) GetMessage() string
- func (o *ErrorResponse) GetMessageOk() (*string, bool)
- func (o *ErrorResponse) HasMessage() bool
- func (o ErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorResponse) SetMessage(v string)
- func (o ErrorResponse) ToMap() (map[string]interface{}, error)
- type ErrorXMLResponse
- func (o *ErrorXMLResponse) GetMessage() string
- func (o *ErrorXMLResponse) GetMessageOk() (*string, bool)
- func (o *ErrorXMLResponse) HasMessage() bool
- func (o ErrorXMLResponse) MarshalJSON() ([]byte, error)
- func (o *ErrorXMLResponse) SetMessage(v string)
- func (o ErrorXMLResponse) ToMap() (map[string]interface{}, error)
- type ErrorXMLResponseArray
- func (o *ErrorXMLResponseArray) GetMessage() string
- func (o *ErrorXMLResponseArray) GetMessageOk() (*string, bool)
- func (o *ErrorXMLResponseArray) HasMessage() bool
- func (o ErrorXMLResponseArray) MarshalJSON() ([]byte, error)
- func (o *ErrorXMLResponseArray) SetMessage(v string)
- func (o ErrorXMLResponseArray) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type GeolocationResponse
- func (o *GeolocationResponse) GetAbuse() Abuse
- func (o *GeolocationResponse) GetAbuseOk() (*Abuse, bool)
- func (o *GeolocationResponse) GetCountryMetadata() CountryMetadata
- func (o *GeolocationResponse) GetCountryMetadataOk() (*CountryMetadata, bool)
- func (o *GeolocationResponse) GetCurrency() Currency
- func (o *GeolocationResponse) GetCurrencyOk() (*Currency, bool)
- func (o *GeolocationResponse) GetDomain() string
- func (o *GeolocationResponse) GetDomainOk() (*string, bool)
- func (o *GeolocationResponse) GetHostname() string
- func (o *GeolocationResponse) GetHostnameOk() (*string, bool)
- func (o *GeolocationResponse) GetIp() string
- func (o *GeolocationResponse) GetIpOk() (*string, bool)
- func (o *GeolocationResponse) GetLocation() Location
- func (o *GeolocationResponse) GetLocationOk() (*Location, bool)
- func (o *GeolocationResponse) GetNetwork() Network
- func (o *GeolocationResponse) GetNetworkOk() (*Network, bool)
- func (o *GeolocationResponse) GetSecurity() Security
- func (o *GeolocationResponse) GetSecurityOk() (*Security, bool)
- func (o *GeolocationResponse) GetTimeZone() TimeZone
- func (o *GeolocationResponse) GetTimeZoneOk() (*TimeZone, bool)
- func (o *GeolocationResponse) GetUserAgent() UserAgentData
- func (o *GeolocationResponse) GetUserAgentOk() (*UserAgentData, bool)
- func (o *GeolocationResponse) HasAbuse() bool
- func (o *GeolocationResponse) HasCountryMetadata() bool
- func (o *GeolocationResponse) HasCurrency() bool
- func (o *GeolocationResponse) HasDomain() bool
- func (o *GeolocationResponse) HasHostname() bool
- func (o *GeolocationResponse) HasIp() bool
- func (o *GeolocationResponse) HasLocation() bool
- func (o *GeolocationResponse) HasNetwork() bool
- func (o *GeolocationResponse) HasSecurity() bool
- func (o *GeolocationResponse) HasTimeZone() bool
- func (o *GeolocationResponse) HasUserAgent() bool
- func (o GeolocationResponse) MarshalJSON() ([]byte, error)
- func (o *GeolocationResponse) SetAbuse(v Abuse)
- func (o *GeolocationResponse) SetCountryMetadata(v CountryMetadata)
- func (o *GeolocationResponse) SetCurrency(v Currency)
- func (o *GeolocationResponse) SetDomain(v string)
- func (o *GeolocationResponse) SetHostname(v string)
- func (o *GeolocationResponse) SetIp(v string)
- func (o *GeolocationResponse) SetLocation(v Location)
- func (o *GeolocationResponse) SetNetwork(v Network)
- func (o *GeolocationResponse) SetSecurity(v Security)
- func (o *GeolocationResponse) SetTimeZone(v TimeZone)
- func (o *GeolocationResponse) SetUserAgent(v UserAgentData)
- func (o GeolocationResponse) ToMap() (map[string]interface{}, error)
- type GeolocationXMLResponse
- func (o *GeolocationXMLResponse) GetAbuse() Abuse
- func (o *GeolocationXMLResponse) GetAbuseOk() (*Abuse, bool)
- func (o *GeolocationXMLResponse) GetCountryMetadata() CountryMetadata
- func (o *GeolocationXMLResponse) GetCountryMetadataOk() (*CountryMetadata, bool)
- func (o *GeolocationXMLResponse) GetCurrency() Currency
- func (o *GeolocationXMLResponse) GetCurrencyOk() (*Currency, bool)
- func (o *GeolocationXMLResponse) GetDomain() string
- func (o *GeolocationXMLResponse) GetDomainOk() (*string, bool)
- func (o *GeolocationXMLResponse) GetHostname() string
- func (o *GeolocationXMLResponse) GetHostnameOk() (*string, bool)
- func (o *GeolocationXMLResponse) GetIp() string
- func (o *GeolocationXMLResponse) GetIpOk() (*string, bool)
- func (o *GeolocationXMLResponse) GetLocation() Location
- func (o *GeolocationXMLResponse) GetLocationOk() (*Location, bool)
- func (o *GeolocationXMLResponse) GetNetwork() Network
- func (o *GeolocationXMLResponse) GetNetworkOk() (*Network, bool)
- func (o *GeolocationXMLResponse) GetSecurity() Security
- func (o *GeolocationXMLResponse) GetSecurityOk() (*Security, bool)
- func (o *GeolocationXMLResponse) GetTimeZone() TimeZone
- func (o *GeolocationXMLResponse) GetTimeZoneOk() (*TimeZone, bool)
- func (o *GeolocationXMLResponse) GetUserAgent() UserAgentData
- func (o *GeolocationXMLResponse) GetUserAgentOk() (*UserAgentData, bool)
- func (o *GeolocationXMLResponse) HasAbuse() bool
- func (o *GeolocationXMLResponse) HasCountryMetadata() bool
- func (o *GeolocationXMLResponse) HasCurrency() bool
- func (o *GeolocationXMLResponse) HasDomain() bool
- func (o *GeolocationXMLResponse) HasHostname() bool
- func (o *GeolocationXMLResponse) HasIp() bool
- func (o *GeolocationXMLResponse) HasLocation() bool
- func (o *GeolocationXMLResponse) HasNetwork() bool
- func (o *GeolocationXMLResponse) HasSecurity() bool
- func (o *GeolocationXMLResponse) HasTimeZone() bool
- func (o *GeolocationXMLResponse) HasUserAgent() bool
- func (o GeolocationXMLResponse) MarshalJSON() ([]byte, error)
- func (o *GeolocationXMLResponse) SetAbuse(v Abuse)
- func (o *GeolocationXMLResponse) SetCountryMetadata(v CountryMetadata)
- func (o *GeolocationXMLResponse) SetCurrency(v Currency)
- func (o *GeolocationXMLResponse) SetDomain(v string)
- func (o *GeolocationXMLResponse) SetHostname(v string)
- func (o *GeolocationXMLResponse) SetIp(v string)
- func (o *GeolocationXMLResponse) SetLocation(v Location)
- func (o *GeolocationXMLResponse) SetNetwork(v Network)
- func (o *GeolocationXMLResponse) SetSecurity(v Security)
- func (o *GeolocationXMLResponse) SetTimeZone(v TimeZone)
- func (o *GeolocationXMLResponse) SetUserAgent(v UserAgentData)
- func (o GeolocationXMLResponse) ToMap() (map[string]interface{}, error)
- type GeolocationXMLResponseArray
- func (o *GeolocationXMLResponseArray) GetAbuse() Abuse
- func (o *GeolocationXMLResponseArray) GetAbuseOk() (*Abuse, bool)
- func (o *GeolocationXMLResponseArray) GetCountryMetadata() CountryMetadata
- func (o *GeolocationXMLResponseArray) GetCountryMetadataOk() (*CountryMetadata, bool)
- func (o *GeolocationXMLResponseArray) GetCurrency() Currency
- func (o *GeolocationXMLResponseArray) GetCurrencyOk() (*Currency, bool)
- func (o *GeolocationXMLResponseArray) GetDomain() string
- func (o *GeolocationXMLResponseArray) GetDomainOk() (*string, bool)
- func (o *GeolocationXMLResponseArray) GetHostname() string
- func (o *GeolocationXMLResponseArray) GetHostnameOk() (*string, bool)
- func (o *GeolocationXMLResponseArray) GetIp() string
- func (o *GeolocationXMLResponseArray) GetIpOk() (*string, bool)
- func (o *GeolocationXMLResponseArray) GetLocation() Location
- func (o *GeolocationXMLResponseArray) GetLocationOk() (*Location, bool)
- func (o *GeolocationXMLResponseArray) GetNetwork() Network
- func (o *GeolocationXMLResponseArray) GetNetworkOk() (*Network, bool)
- func (o *GeolocationXMLResponseArray) GetSecurity() Security
- func (o *GeolocationXMLResponseArray) GetSecurityOk() (*Security, bool)
- func (o *GeolocationXMLResponseArray) GetTimeZone() TimeZone
- func (o *GeolocationXMLResponseArray) GetTimeZoneOk() (*TimeZone, bool)
- func (o *GeolocationXMLResponseArray) GetUserAgent() UserAgentData
- func (o *GeolocationXMLResponseArray) GetUserAgentOk() (*UserAgentData, bool)
- func (o *GeolocationXMLResponseArray) HasAbuse() bool
- func (o *GeolocationXMLResponseArray) HasCountryMetadata() bool
- func (o *GeolocationXMLResponseArray) HasCurrency() bool
- func (o *GeolocationXMLResponseArray) HasDomain() bool
- func (o *GeolocationXMLResponseArray) HasHostname() bool
- func (o *GeolocationXMLResponseArray) HasIp() bool
- func (o *GeolocationXMLResponseArray) HasLocation() bool
- func (o *GeolocationXMLResponseArray) HasNetwork() bool
- func (o *GeolocationXMLResponseArray) HasSecurity() bool
- func (o *GeolocationXMLResponseArray) HasTimeZone() bool
- func (o *GeolocationXMLResponseArray) HasUserAgent() bool
- func (o GeolocationXMLResponseArray) MarshalJSON() ([]byte, error)
- func (o *GeolocationXMLResponseArray) SetAbuse(v Abuse)
- func (o *GeolocationXMLResponseArray) SetCountryMetadata(v CountryMetadata)
- func (o *GeolocationXMLResponseArray) SetCurrency(v Currency)
- func (o *GeolocationXMLResponseArray) SetDomain(v string)
- func (o *GeolocationXMLResponseArray) SetHostname(v string)
- func (o *GeolocationXMLResponseArray) SetIp(v string)
- func (o *GeolocationXMLResponseArray) SetLocation(v Location)
- func (o *GeolocationXMLResponseArray) SetNetwork(v Network)
- func (o *GeolocationXMLResponseArray) SetSecurity(v Security)
- func (o *GeolocationXMLResponseArray) SetTimeZone(v TimeZone)
- func (o *GeolocationXMLResponseArray) SetUserAgent(v UserAgentData)
- func (o GeolocationXMLResponseArray) ToMap() (map[string]interface{}, error)
- type GetBulkIpGeolocation200ResponseInner1
- func (obj *GetBulkIpGeolocation200ResponseInner1) GetActualInstance() interface{}
- func (obj GetBulkIpGeolocation200ResponseInner1) GetActualInstanceValue() interface{}
- func (src GetBulkIpGeolocation200ResponseInner1) MarshalJSON() ([]byte, error)
- func (dst *GetBulkIpGeolocation200ResponseInner1) UnmarshalJSON(data []byte) error
- type GetBulkIpGeolocationRequest
- func (o *GetBulkIpGeolocationRequest) GetIps() []string
- func (o *GetBulkIpGeolocationRequest) GetIpsOk() ([]string, bool)
- func (o *GetBulkIpGeolocationRequest) HasIps() bool
- func (o GetBulkIpGeolocationRequest) MarshalJSON() ([]byte, error)
- func (o *GetBulkIpGeolocationRequest) SetIps(v []string)
- func (o GetBulkIpGeolocationRequest) ToMap() (map[string]interface{}, error)
- type GetBulkIpSecurityInfo200ResponseInner1
- func (obj *GetBulkIpSecurityInfo200ResponseInner1) GetActualInstance() interface{}
- func (obj GetBulkIpSecurityInfo200ResponseInner1) GetActualInstanceValue() interface{}
- func (src GetBulkIpSecurityInfo200ResponseInner1) MarshalJSON() ([]byte, error)
- func (dst *GetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON(data []byte) error
- type IPGeolocationAPI
- type IPLocationAPIService
- func (a *IPLocationAPIService) GetBulkIpGeolocation(ctx context.Context) ApiGetBulkIpGeolocationRequest
- func (a *IPLocationAPIService) GetBulkIpGeolocationExecute(r ApiGetBulkIpGeolocationRequest) ([]BulkIPGeolocation, *http.Response, error)
- func (a *IPLocationAPIService) GetIpGeolocation(ctx context.Context) ApiGetIpGeolocationRequest
- func (a *IPLocationAPIService) GetIpGeolocationExecute(r ApiGetIpGeolocationRequest) (*GeolocationResponse, *http.Response, error)
- type IPSecurityAPI
- type Location
- func (o *Location) GetAccuracyRadius() string
- func (o *Location) GetAccuracyRadiusOk() (*string, bool)
- func (o *Location) GetCity() string
- func (o *Location) GetCityOk() (*string, bool)
- func (o *Location) GetContinentCode() string
- func (o *Location) GetContinentCodeOk() (*string, bool)
- func (o *Location) GetContinentName() string
- func (o *Location) GetContinentNameOk() (*string, bool)
- func (o *Location) GetCountryCapital() string
- func (o *Location) GetCountryCapitalOk() (*string, bool)
- func (o *Location) GetCountryCode2() string
- func (o *Location) GetCountryCode2Ok() (*string, bool)
- func (o *Location) GetCountryCode3() string
- func (o *Location) GetCountryCode3Ok() (*string, bool)
- func (o *Location) GetCountryEmoji() string
- func (o *Location) GetCountryEmojiOk() (*string, bool)
- func (o *Location) GetCountryFlag() string
- func (o *Location) GetCountryFlagOk() (*string, bool)
- func (o *Location) GetCountryName() string
- func (o *Location) GetCountryNameOfficial() string
- func (o *Location) GetCountryNameOfficialOk() (*string, bool)
- func (o *Location) GetCountryNameOk() (*string, bool)
- func (o *Location) GetDistrict() string
- func (o *Location) GetDistrictOk() (*string, bool)
- func (o *Location) GetDmaCode() string
- func (o *Location) GetDmaCodeOk() (*string, bool)
- func (o *Location) GetGeonameId() string
- func (o *Location) GetGeonameIdOk() (*string, bool)
- func (o *Location) GetIsEu() bool
- func (o *Location) GetIsEuOk() (*bool, bool)
- func (o *Location) GetLatitude() string
- func (o *Location) GetLatitudeOk() (*string, bool)
- func (o *Location) GetLocality() string
- func (o *Location) GetLocalityOk() (*string, bool)
- func (o *Location) GetLongitude() string
- func (o *Location) GetLongitudeOk() (*string, bool)
- func (o *Location) GetStateCode() string
- func (o *Location) GetStateCodeOk() (*string, bool)
- func (o *Location) GetStateProv() string
- func (o *Location) GetStateProvOk() (*string, bool)
- func (o *Location) GetZipcode() string
- func (o *Location) GetZipcodeOk() (*string, bool)
- func (o *Location) HasAccuracyRadius() bool
- func (o *Location) HasCity() bool
- func (o *Location) HasContinentCode() bool
- func (o *Location) HasContinentName() bool
- func (o *Location) HasCountryCapital() bool
- func (o *Location) HasCountryCode2() bool
- func (o *Location) HasCountryCode3() bool
- func (o *Location) HasCountryEmoji() bool
- func (o *Location) HasCountryFlag() bool
- func (o *Location) HasCountryName() bool
- func (o *Location) HasCountryNameOfficial() bool
- func (o *Location) HasDistrict() bool
- func (o *Location) HasDmaCode() bool
- func (o *Location) HasGeonameId() bool
- func (o *Location) HasIsEu() bool
- func (o *Location) HasLatitude() bool
- func (o *Location) HasLocality() bool
- func (o *Location) HasLongitude() bool
- func (o *Location) HasStateCode() bool
- func (o *Location) HasStateProv() bool
- func (o *Location) HasZipcode() bool
- func (o Location) MarshalJSON() ([]byte, error)
- func (o *Location) SetAccuracyRadius(v string)
- func (o *Location) SetCity(v string)
- func (o *Location) SetContinentCode(v string)
- func (o *Location) SetContinentName(v string)
- func (o *Location) SetCountryCapital(v string)
- func (o *Location) SetCountryCode2(v string)
- func (o *Location) SetCountryCode3(v string)
- func (o *Location) SetCountryEmoji(v string)
- func (o *Location) SetCountryFlag(v string)
- func (o *Location) SetCountryName(v string)
- func (o *Location) SetCountryNameOfficial(v string)
- func (o *Location) SetDistrict(v string)
- func (o *Location) SetDmaCode(v string)
- func (o *Location) SetGeonameId(v string)
- func (o *Location) SetIsEu(v bool)
- func (o *Location) SetLatitude(v string)
- func (o *Location) SetLocality(v string)
- func (o *Location) SetLongitude(v string)
- func (o *Location) SetStateCode(v string)
- func (o *Location) SetStateProv(v string)
- func (o *Location) SetZipcode(v string)
- func (o Location) ToMap() (map[string]interface{}, error)
- type LocationMinimal
- func (o *LocationMinimal) GetCity() string
- func (o *LocationMinimal) GetCityOk() (*string, bool)
- func (o *LocationMinimal) GetContinentCode() string
- func (o *LocationMinimal) GetContinentCodeOk() (*string, bool)
- func (o *LocationMinimal) GetContinentName() string
- func (o *LocationMinimal) GetContinentNameOk() (*string, bool)
- func (o *LocationMinimal) GetCountryCapital() string
- func (o *LocationMinimal) GetCountryCapitalOk() (*string, bool)
- func (o *LocationMinimal) GetCountryCode2() string
- func (o *LocationMinimal) GetCountryCode2Ok() (*string, bool)
- func (o *LocationMinimal) GetCountryCode3() string
- func (o *LocationMinimal) GetCountryCode3Ok() (*string, bool)
- func (o *LocationMinimal) GetCountryEmoji() string
- func (o *LocationMinimal) GetCountryEmojiOk() (*string, bool)
- func (o *LocationMinimal) GetCountryFlag() string
- func (o *LocationMinimal) GetCountryFlagOk() (*string, bool)
- func (o *LocationMinimal) GetCountryName() string
- func (o *LocationMinimal) GetCountryNameOfficial() string
- func (o *LocationMinimal) GetCountryNameOfficialOk() (*string, bool)
- func (o *LocationMinimal) GetCountryNameOk() (*string, bool)
- func (o *LocationMinimal) GetDistrict() string
- func (o *LocationMinimal) GetDistrictOk() (*string, bool)
- func (o *LocationMinimal) GetGeonameId() string
- func (o *LocationMinimal) GetGeonameIdOk() (*string, bool)
- func (o *LocationMinimal) GetIsEu() bool
- func (o *LocationMinimal) GetIsEuOk() (*bool, bool)
- func (o *LocationMinimal) GetLatitude() string
- func (o *LocationMinimal) GetLatitudeOk() (*string, bool)
- func (o *LocationMinimal) GetLongitude() string
- func (o *LocationMinimal) GetLongitudeOk() (*string, bool)
- func (o *LocationMinimal) GetStateCode() string
- func (o *LocationMinimal) GetStateCodeOk() (*string, bool)
- func (o *LocationMinimal) GetStateProv() string
- func (o *LocationMinimal) GetStateProvOk() (*string, bool)
- func (o *LocationMinimal) GetZipcode() string
- func (o *LocationMinimal) GetZipcodeOk() (*string, bool)
- func (o *LocationMinimal) HasCity() bool
- func (o *LocationMinimal) HasContinentCode() bool
- func (o *LocationMinimal) HasContinentName() bool
- func (o *LocationMinimal) HasCountryCapital() bool
- func (o *LocationMinimal) HasCountryCode2() bool
- func (o *LocationMinimal) HasCountryCode3() bool
- func (o *LocationMinimal) HasCountryEmoji() bool
- func (o *LocationMinimal) HasCountryFlag() bool
- func (o *LocationMinimal) HasCountryName() bool
- func (o *LocationMinimal) HasCountryNameOfficial() bool
- func (o *LocationMinimal) HasDistrict() bool
- func (o *LocationMinimal) HasGeonameId() bool
- func (o *LocationMinimal) HasIsEu() bool
- func (o *LocationMinimal) HasLatitude() bool
- func (o *LocationMinimal) HasLongitude() bool
- func (o *LocationMinimal) HasStateCode() bool
- func (o *LocationMinimal) HasStateProv() bool
- func (o *LocationMinimal) HasZipcode() bool
- func (o LocationMinimal) MarshalJSON() ([]byte, error)
- func (o *LocationMinimal) SetCity(v string)
- func (o *LocationMinimal) SetContinentCode(v string)
- func (o *LocationMinimal) SetContinentName(v string)
- func (o *LocationMinimal) SetCountryCapital(v string)
- func (o *LocationMinimal) SetCountryCode2(v string)
- func (o *LocationMinimal) SetCountryCode3(v string)
- func (o *LocationMinimal) SetCountryEmoji(v string)
- func (o *LocationMinimal) SetCountryFlag(v string)
- func (o *LocationMinimal) SetCountryName(v string)
- func (o *LocationMinimal) SetCountryNameOfficial(v string)
- func (o *LocationMinimal) SetDistrict(v string)
- func (o *LocationMinimal) SetGeonameId(v string)
- func (o *LocationMinimal) SetIsEu(v bool)
- func (o *LocationMinimal) SetLatitude(v string)
- func (o *LocationMinimal) SetLongitude(v string)
- func (o *LocationMinimal) SetStateCode(v string)
- func (o *LocationMinimal) SetStateProv(v string)
- func (o *LocationMinimal) SetZipcode(v string)
- func (o LocationMinimal) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Network
- func (o *Network) GetAsn() NetworkAsn
- func (o *Network) GetAsnOk() (*NetworkAsn, bool)
- func (o *Network) GetCompany() NetworkCompany
- func (o *Network) GetCompanyOk() (*NetworkCompany, bool)
- func (o *Network) GetConnectionType() string
- func (o *Network) GetConnectionTypeOk() (*string, bool)
- func (o *Network) HasAsn() bool
- func (o *Network) HasCompany() bool
- func (o *Network) HasConnectionType() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetAsn(v NetworkAsn)
- func (o *Network) SetCompany(v NetworkCompany)
- func (o *Network) SetConnectionType(v string)
- func (o Network) ToMap() (map[string]interface{}, error)
- type NetworkAsn
- func (o *NetworkAsn) GetAllocationStatus() string
- func (o *NetworkAsn) GetAllocationStatusOk() (*string, bool)
- func (o *NetworkAsn) GetAsNumber() string
- func (o *NetworkAsn) GetAsNumberOk() (*string, bool)
- func (o *NetworkAsn) GetAsnName() string
- func (o *NetworkAsn) GetAsnNameOk() (*string, bool)
- func (o *NetworkAsn) GetCountry() string
- func (o *NetworkAsn) GetCountryOk() (*string, bool)
- func (o *NetworkAsn) GetDateAllocated() string
- func (o *NetworkAsn) GetDateAllocatedOk() (*string, bool)
- func (o *NetworkAsn) GetDomain() string
- func (o *NetworkAsn) GetDomainOk() (*string, bool)
- func (o *NetworkAsn) GetNumOfIpv4Routes() string
- func (o *NetworkAsn) GetNumOfIpv4RoutesOk() (*string, bool)
- func (o *NetworkAsn) GetNumOfIpv6Routes() string
- func (o *NetworkAsn) GetNumOfIpv6RoutesOk() (*string, bool)
- func (o *NetworkAsn) GetOrganization() string
- func (o *NetworkAsn) GetOrganizationOk() (*string, bool)
- func (o *NetworkAsn) GetRir() string
- func (o *NetworkAsn) GetRirOk() (*string, bool)
- func (o *NetworkAsn) GetType() string
- func (o *NetworkAsn) GetTypeOk() (*string, bool)
- func (o *NetworkAsn) HasAllocationStatus() bool
- func (o *NetworkAsn) HasAsNumber() bool
- func (o *NetworkAsn) HasAsnName() bool
- func (o *NetworkAsn) HasCountry() bool
- func (o *NetworkAsn) HasDateAllocated() bool
- func (o *NetworkAsn) HasDomain() bool
- func (o *NetworkAsn) HasNumOfIpv4Routes() bool
- func (o *NetworkAsn) HasNumOfIpv6Routes() bool
- func (o *NetworkAsn) HasOrganization() bool
- func (o *NetworkAsn) HasRir() bool
- func (o *NetworkAsn) HasType() bool
- func (o NetworkAsn) MarshalJSON() ([]byte, error)
- func (o *NetworkAsn) SetAllocationStatus(v string)
- func (o *NetworkAsn) SetAsNumber(v string)
- func (o *NetworkAsn) SetAsnName(v string)
- func (o *NetworkAsn) SetCountry(v string)
- func (o *NetworkAsn) SetDateAllocated(v string)
- func (o *NetworkAsn) SetDomain(v string)
- func (o *NetworkAsn) SetNumOfIpv4Routes(v string)
- func (o *NetworkAsn) SetNumOfIpv6Routes(v string)
- func (o *NetworkAsn) SetOrganization(v string)
- func (o *NetworkAsn) SetRir(v string)
- func (o *NetworkAsn) SetType(v string)
- func (o NetworkAsn) ToMap() (map[string]interface{}, error)
- type NetworkCompany
- func (o *NetworkCompany) GetDomain() string
- func (o *NetworkCompany) GetDomainOk() (*string, bool)
- func (o *NetworkCompany) GetName() string
- func (o *NetworkCompany) GetNameOk() (*string, bool)
- func (o *NetworkCompany) GetType() string
- func (o *NetworkCompany) GetTypeOk() (*string, bool)
- func (o *NetworkCompany) HasDomain() bool
- func (o *NetworkCompany) HasName() bool
- func (o *NetworkCompany) HasType() bool
- func (o NetworkCompany) MarshalJSON() ([]byte, error)
- func (o *NetworkCompany) SetDomain(v string)
- func (o *NetworkCompany) SetName(v string)
- func (o *NetworkCompany) SetType(v string)
- func (o NetworkCompany) ToMap() (map[string]interface{}, error)
- type NetworkMinimal
- func (o *NetworkMinimal) GetAsn() NetworkMinimalAsn
- func (o *NetworkMinimal) GetAsnOk() (*NetworkMinimalAsn, bool)
- func (o *NetworkMinimal) GetCompany() NetworkMinimalCompany
- func (o *NetworkMinimal) GetCompanyOk() (*NetworkMinimalCompany, bool)
- func (o *NetworkMinimal) HasAsn() bool
- func (o *NetworkMinimal) HasCompany() bool
- func (o NetworkMinimal) MarshalJSON() ([]byte, error)
- func (o *NetworkMinimal) SetAsn(v NetworkMinimalAsn)
- func (o *NetworkMinimal) SetCompany(v NetworkMinimalCompany)
- func (o NetworkMinimal) ToMap() (map[string]interface{}, error)
- type NetworkMinimalAsn
- func (o *NetworkMinimalAsn) GetAsNumber() string
- func (o *NetworkMinimalAsn) GetAsNumberOk() (*string, bool)
- func (o *NetworkMinimalAsn) GetCountry() string
- func (o *NetworkMinimalAsn) GetCountryOk() (*string, bool)
- func (o *NetworkMinimalAsn) GetOrganization() string
- func (o *NetworkMinimalAsn) GetOrganizationOk() (*string, bool)
- func (o *NetworkMinimalAsn) HasAsNumber() bool
- func (o *NetworkMinimalAsn) HasCountry() bool
- func (o *NetworkMinimalAsn) HasOrganization() bool
- func (o NetworkMinimalAsn) MarshalJSON() ([]byte, error)
- func (o *NetworkMinimalAsn) SetAsNumber(v string)
- func (o *NetworkMinimalAsn) SetCountry(v string)
- func (o *NetworkMinimalAsn) SetOrganization(v string)
- func (o NetworkMinimalAsn) ToMap() (map[string]interface{}, error)
- type NetworkMinimalCompany
- func (o *NetworkMinimalCompany) GetName() string
- func (o *NetworkMinimalCompany) GetNameOk() (*string, bool)
- func (o *NetworkMinimalCompany) HasName() bool
- func (o NetworkMinimalCompany) MarshalJSON() ([]byte, error)
- func (o *NetworkMinimalCompany) SetName(v string)
- func (o NetworkMinimalCompany) ToMap() (map[string]interface{}, error)
- type NullableASNConnection
- func (v NullableASNConnection) Get() *ASNConnection
- func (v NullableASNConnection) IsSet() bool
- func (v NullableASNConnection) MarshalJSON() ([]byte, error)
- func (v *NullableASNConnection) Set(val *ASNConnection)
- func (v *NullableASNConnection) UnmarshalJSON(src []byte) error
- func (v *NullableASNConnection) Unset()
- type NullableASNDetails
- type NullableASNResponse
- func (v NullableASNResponse) Get() *ASNResponse
- func (v NullableASNResponse) IsSet() bool
- func (v NullableASNResponse) MarshalJSON() ([]byte, error)
- func (v *NullableASNResponse) Set(val *ASNResponse)
- func (v *NullableASNResponse) UnmarshalJSON(src []byte) error
- func (v *NullableASNResponse) Unset()
- type NullableASNResponseXML
- func (v NullableASNResponseXML) Get() *ASNResponseXML
- func (v NullableASNResponseXML) IsSet() bool
- func (v NullableASNResponseXML) MarshalJSON() ([]byte, error)
- func (v *NullableASNResponseXML) Set(val *ASNResponseXML)
- func (v *NullableASNResponseXML) UnmarshalJSON(src []byte) error
- func (v *NullableASNResponseXML) Unset()
- type NullableASNResponseXMLAsn
- func (v NullableASNResponseXMLAsn) Get() *ASNResponseXMLAsn
- func (v NullableASNResponseXMLAsn) IsSet() bool
- func (v NullableASNResponseXMLAsn) MarshalJSON() ([]byte, error)
- func (v *NullableASNResponseXMLAsn) Set(val *ASNResponseXMLAsn)
- func (v *NullableASNResponseXMLAsn) UnmarshalJSON(src []byte) error
- func (v *NullableASNResponseXMLAsn) Unset()
- type NullableAbuse
- type NullableAbuseResponse
- func (v NullableAbuseResponse) Get() *AbuseResponse
- func (v NullableAbuseResponse) IsSet() bool
- func (v NullableAbuseResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAbuseResponse) Set(val *AbuseResponse)
- func (v *NullableAbuseResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAbuseResponse) Unset()
- type NullableAbuseResponseXML
- func (v NullableAbuseResponseXML) Get() *AbuseResponseXML
- func (v NullableAbuseResponseXML) IsSet() bool
- func (v NullableAbuseResponseXML) MarshalJSON() ([]byte, error)
- func (v *NullableAbuseResponseXML) Set(val *AbuseResponseXML)
- func (v *NullableAbuseResponseXML) UnmarshalJSON(src []byte) error
- func (v *NullableAbuseResponseXML) Unset()
- type NullableAstronomy
- type NullableAstronomyEvening
- func (v NullableAstronomyEvening) Get() *AstronomyEvening
- func (v NullableAstronomyEvening) IsSet() bool
- func (v NullableAstronomyEvening) MarshalJSON() ([]byte, error)
- func (v *NullableAstronomyEvening) Set(val *AstronomyEvening)
- func (v *NullableAstronomyEvening) UnmarshalJSON(src []byte) error
- func (v *NullableAstronomyEvening) Unset()
- type NullableAstronomyLocation
- func (v NullableAstronomyLocation) Get() *AstronomyLocation
- func (v NullableAstronomyLocation) IsSet() bool
- func (v NullableAstronomyLocation) MarshalJSON() ([]byte, error)
- func (v *NullableAstronomyLocation) Set(val *AstronomyLocation)
- func (v *NullableAstronomyLocation) UnmarshalJSON(src []byte) error
- func (v *NullableAstronomyLocation) Unset()
- type NullableAstronomyMorning
- func (v NullableAstronomyMorning) Get() *AstronomyMorning
- func (v NullableAstronomyMorning) IsSet() bool
- func (v NullableAstronomyMorning) MarshalJSON() ([]byte, error)
- func (v *NullableAstronomyMorning) Set(val *AstronomyMorning)
- func (v *NullableAstronomyMorning) UnmarshalJSON(src []byte) error
- func (v *NullableAstronomyMorning) Unset()
- type NullableAstronomyResponse
- func (v NullableAstronomyResponse) Get() *AstronomyResponse
- func (v NullableAstronomyResponse) IsSet() bool
- func (v NullableAstronomyResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAstronomyResponse) Set(val *AstronomyResponse)
- func (v *NullableAstronomyResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAstronomyResponse) Unset()
- type NullableAstronomyXMLResponse
- func (v NullableAstronomyXMLResponse) Get() *AstronomyXMLResponse
- func (v NullableAstronomyXMLResponse) IsSet() bool
- func (v NullableAstronomyXMLResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAstronomyXMLResponse) Set(val *AstronomyXMLResponse)
- func (v *NullableAstronomyXMLResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAstronomyXMLResponse) Unset()
- type NullableBool
- type NullableBulkIPGeolocation
- func (v NullableBulkIPGeolocation) Get() *BulkIPGeolocation
- func (v NullableBulkIPGeolocation) IsSet() bool
- func (v NullableBulkIPGeolocation) MarshalJSON() ([]byte, error)
- func (v *NullableBulkIPGeolocation) Set(val *BulkIPGeolocation)
- func (v *NullableBulkIPGeolocation) UnmarshalJSON(src []byte) error
- func (v *NullableBulkIPGeolocation) Unset()
- type NullableCountryMetadata
- func (v NullableCountryMetadata) Get() *CountryMetadata
- func (v NullableCountryMetadata) IsSet() bool
- func (v NullableCountryMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableCountryMetadata) Set(val *CountryMetadata)
- func (v *NullableCountryMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableCountryMetadata) Unset()
- type NullableCurrency
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableErrorXMLResponse
- func (v NullableErrorXMLResponse) Get() *ErrorXMLResponse
- func (v NullableErrorXMLResponse) IsSet() bool
- func (v NullableErrorXMLResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorXMLResponse) Set(val *ErrorXMLResponse)
- func (v *NullableErrorXMLResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorXMLResponse) Unset()
- type NullableErrorXMLResponseArray
- func (v NullableErrorXMLResponseArray) Get() *ErrorXMLResponseArray
- func (v NullableErrorXMLResponseArray) IsSet() bool
- func (v NullableErrorXMLResponseArray) MarshalJSON() ([]byte, error)
- func (v *NullableErrorXMLResponseArray) Set(val *ErrorXMLResponseArray)
- func (v *NullableErrorXMLResponseArray) UnmarshalJSON(src []byte) error
- func (v *NullableErrorXMLResponseArray) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGeolocationResponse
- func (v NullableGeolocationResponse) Get() *GeolocationResponse
- func (v NullableGeolocationResponse) IsSet() bool
- func (v NullableGeolocationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGeolocationResponse) Set(val *GeolocationResponse)
- func (v *NullableGeolocationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGeolocationResponse) Unset()
- type NullableGeolocationXMLResponse
- func (v NullableGeolocationXMLResponse) Get() *GeolocationXMLResponse
- func (v NullableGeolocationXMLResponse) IsSet() bool
- func (v NullableGeolocationXMLResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGeolocationXMLResponse) Set(val *GeolocationXMLResponse)
- func (v *NullableGeolocationXMLResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGeolocationXMLResponse) Unset()
- type NullableGeolocationXMLResponseArray
- func (v NullableGeolocationXMLResponseArray) Get() *GeolocationXMLResponseArray
- func (v NullableGeolocationXMLResponseArray) IsSet() bool
- func (v NullableGeolocationXMLResponseArray) MarshalJSON() ([]byte, error)
- func (v *NullableGeolocationXMLResponseArray) Set(val *GeolocationXMLResponseArray)
- func (v *NullableGeolocationXMLResponseArray) UnmarshalJSON(src []byte) error
- func (v *NullableGeolocationXMLResponseArray) Unset()
- type NullableGetBulkIpGeolocation200ResponseInner1
- func (v NullableGetBulkIpGeolocation200ResponseInner1) Get() *GetBulkIpGeolocation200ResponseInner1
- func (v NullableGetBulkIpGeolocation200ResponseInner1) IsSet() bool
- func (v NullableGetBulkIpGeolocation200ResponseInner1) MarshalJSON() ([]byte, error)
- func (v *NullableGetBulkIpGeolocation200ResponseInner1) Set(val *GetBulkIpGeolocation200ResponseInner1)
- func (v *NullableGetBulkIpGeolocation200ResponseInner1) UnmarshalJSON(src []byte) error
- func (v *NullableGetBulkIpGeolocation200ResponseInner1) Unset()
- type NullableGetBulkIpGeolocationRequest
- func (v NullableGetBulkIpGeolocationRequest) Get() *GetBulkIpGeolocationRequest
- func (v NullableGetBulkIpGeolocationRequest) IsSet() bool
- func (v NullableGetBulkIpGeolocationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetBulkIpGeolocationRequest) Set(val *GetBulkIpGeolocationRequest)
- func (v *NullableGetBulkIpGeolocationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetBulkIpGeolocationRequest) Unset()
- type NullableGetBulkIpSecurityInfo200ResponseInner1
- func (v NullableGetBulkIpSecurityInfo200ResponseInner1) Get() *GetBulkIpSecurityInfo200ResponseInner1
- func (v NullableGetBulkIpSecurityInfo200ResponseInner1) IsSet() bool
- func (v NullableGetBulkIpSecurityInfo200ResponseInner1) MarshalJSON() ([]byte, error)
- func (v *NullableGetBulkIpSecurityInfo200ResponseInner1) Set(val *GetBulkIpSecurityInfo200ResponseInner1)
- func (v *NullableGetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON(src []byte) error
- func (v *NullableGetBulkIpSecurityInfo200ResponseInner1) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLocation
- type NullableLocationMinimal
- func (v NullableLocationMinimal) Get() *LocationMinimal
- func (v NullableLocationMinimal) IsSet() bool
- func (v NullableLocationMinimal) MarshalJSON() ([]byte, error)
- func (v *NullableLocationMinimal) Set(val *LocationMinimal)
- func (v *NullableLocationMinimal) UnmarshalJSON(src []byte) error
- func (v *NullableLocationMinimal) Unset()
- type NullableNetwork
- type NullableNetworkAsn
- type NullableNetworkCompany
- func (v NullableNetworkCompany) Get() *NetworkCompany
- func (v NullableNetworkCompany) IsSet() bool
- func (v NullableNetworkCompany) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkCompany) Set(val *NetworkCompany)
- func (v *NullableNetworkCompany) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkCompany) Unset()
- type NullableNetworkMinimal
- func (v NullableNetworkMinimal) Get() *NetworkMinimal
- func (v NullableNetworkMinimal) IsSet() bool
- func (v NullableNetworkMinimal) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkMinimal) Set(val *NetworkMinimal)
- func (v *NullableNetworkMinimal) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkMinimal) Unset()
- type NullableNetworkMinimalAsn
- func (v NullableNetworkMinimalAsn) Get() *NetworkMinimalAsn
- func (v NullableNetworkMinimalAsn) IsSet() bool
- func (v NullableNetworkMinimalAsn) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkMinimalAsn) Set(val *NetworkMinimalAsn)
- func (v *NullableNetworkMinimalAsn) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkMinimalAsn) Unset()
- type NullableNetworkMinimalCompany
- func (v NullableNetworkMinimalCompany) Get() *NetworkMinimalCompany
- func (v NullableNetworkMinimalCompany) IsSet() bool
- func (v NullableNetworkMinimalCompany) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkMinimalCompany) Set(val *NetworkMinimalCompany)
- func (v *NullableNetworkMinimalCompany) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkMinimalCompany) Unset()
- type NullableParseBulkUserAgentStringsRequest
- func (v NullableParseBulkUserAgentStringsRequest) Get() *ParseBulkUserAgentStringsRequest
- func (v NullableParseBulkUserAgentStringsRequest) IsSet() bool
- func (v NullableParseBulkUserAgentStringsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableParseBulkUserAgentStringsRequest) Set(val *ParseBulkUserAgentStringsRequest)
- func (v *NullableParseBulkUserAgentStringsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableParseBulkUserAgentStringsRequest) Unset()
- type NullableParseUserAgentStringRequest
- func (v NullableParseUserAgentStringRequest) Get() *ParseUserAgentStringRequest
- func (v NullableParseUserAgentStringRequest) IsSet() bool
- func (v NullableParseUserAgentStringRequest) MarshalJSON() ([]byte, error)
- func (v *NullableParseUserAgentStringRequest) Set(val *ParseUserAgentStringRequest)
- func (v *NullableParseUserAgentStringRequest) UnmarshalJSON(src []byte) error
- func (v *NullableParseUserAgentStringRequest) Unset()
- type NullableSecurity
- type NullableSecurityAPIResponse
- func (v NullableSecurityAPIResponse) Get() *SecurityAPIResponse
- func (v NullableSecurityAPIResponse) IsSet() bool
- func (v NullableSecurityAPIResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityAPIResponse) Set(val *SecurityAPIResponse)
- func (v *NullableSecurityAPIResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityAPIResponse) Unset()
- type NullableSecurityAPIXMLResponse
- func (v NullableSecurityAPIXMLResponse) Get() *SecurityAPIXMLResponse
- func (v NullableSecurityAPIXMLResponse) IsSet() bool
- func (v NullableSecurityAPIXMLResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityAPIXMLResponse) Set(val *SecurityAPIXMLResponse)
- func (v *NullableSecurityAPIXMLResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityAPIXMLResponse) Unset()
- type NullableSecurityAPIXMLResponseArray
- func (v NullableSecurityAPIXMLResponseArray) Get() *SecurityAPIXMLResponseArray
- func (v NullableSecurityAPIXMLResponseArray) IsSet() bool
- func (v NullableSecurityAPIXMLResponseArray) MarshalJSON() ([]byte, error)
- func (v *NullableSecurityAPIXMLResponseArray) Set(val *SecurityAPIXMLResponseArray)
- func (v *NullableSecurityAPIXMLResponseArray) UnmarshalJSON(src []byte) error
- func (v *NullableSecurityAPIXMLResponseArray) Unset()
- type NullableString
- type NullableTime
- type NullableTimeConversionResponse
- func (v NullableTimeConversionResponse) Get() *TimeConversionResponse
- func (v NullableTimeConversionResponse) IsSet() bool
- func (v NullableTimeConversionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTimeConversionResponse) Set(val *TimeConversionResponse)
- func (v *NullableTimeConversionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTimeConversionResponse) Unset()
- type NullableTimeConversionXMLResponse
- func (v NullableTimeConversionXMLResponse) Get() *TimeConversionXMLResponse
- func (v NullableTimeConversionXMLResponse) IsSet() bool
- func (v NullableTimeConversionXMLResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTimeConversionXMLResponse) Set(val *TimeConversionXMLResponse)
- func (v *NullableTimeConversionXMLResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTimeConversionXMLResponse) Unset()
- type NullableTimeZone
- type NullableTimeZoneDetailedResponse
- func (v NullableTimeZoneDetailedResponse) Get() *TimeZoneDetailedResponse
- func (v NullableTimeZoneDetailedResponse) IsSet() bool
- func (v NullableTimeZoneDetailedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTimeZoneDetailedResponse) Set(val *TimeZoneDetailedResponse)
- func (v *NullableTimeZoneDetailedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTimeZoneDetailedResponse) Unset()
- type NullableTimeZoneDetailedXMLResponse
- func (v NullableTimeZoneDetailedXMLResponse) Get() *TimeZoneDetailedXMLResponse
- func (v NullableTimeZoneDetailedXMLResponse) IsSet() bool
- func (v NullableTimeZoneDetailedXMLResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTimeZoneDetailedXMLResponse) Set(val *TimeZoneDetailedXMLResponse)
- func (v *NullableTimeZoneDetailedXMLResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTimeZoneDetailedXMLResponse) Unset()
- type NullableTimeZoneDstEnd
- func (v NullableTimeZoneDstEnd) Get() *TimeZoneDstEnd
- func (v NullableTimeZoneDstEnd) IsSet() bool
- func (v NullableTimeZoneDstEnd) MarshalJSON() ([]byte, error)
- func (v *NullableTimeZoneDstEnd) Set(val *TimeZoneDstEnd)
- func (v *NullableTimeZoneDstEnd) UnmarshalJSON(src []byte) error
- func (v *NullableTimeZoneDstEnd) Unset()
- type NullableTimeZoneDstStart
- func (v NullableTimeZoneDstStart) Get() *TimeZoneDstStart
- func (v NullableTimeZoneDstStart) IsSet() bool
- func (v NullableTimeZoneDstStart) MarshalJSON() ([]byte, error)
- func (v *NullableTimeZoneDstStart) Set(val *TimeZoneDstStart)
- func (v *NullableTimeZoneDstStart) UnmarshalJSON(src []byte) error
- func (v *NullableTimeZoneDstStart) Unset()
- type NullableTimezoneAirport
- func (v NullableTimezoneAirport) Get() *TimezoneAirport
- func (v NullableTimezoneAirport) IsSet() bool
- func (v NullableTimezoneAirport) MarshalJSON() ([]byte, error)
- func (v *NullableTimezoneAirport) Set(val *TimezoneAirport)
- func (v *NullableTimezoneAirport) UnmarshalJSON(src []byte) error
- func (v *NullableTimezoneAirport) Unset()
- type NullableTimezoneDetail
- func (v NullableTimezoneDetail) Get() *TimezoneDetail
- func (v NullableTimezoneDetail) IsSet() bool
- func (v NullableTimezoneDetail) MarshalJSON() ([]byte, error)
- func (v *NullableTimezoneDetail) Set(val *TimezoneDetail)
- func (v *NullableTimezoneDetail) UnmarshalJSON(src []byte) error
- func (v *NullableTimezoneDetail) Unset()
- type NullableTimezoneDetailDstEnd
- func (v NullableTimezoneDetailDstEnd) Get() *TimezoneDetailDstEnd
- func (v NullableTimezoneDetailDstEnd) IsSet() bool
- func (v NullableTimezoneDetailDstEnd) MarshalJSON() ([]byte, error)
- func (v *NullableTimezoneDetailDstEnd) Set(val *TimezoneDetailDstEnd)
- func (v *NullableTimezoneDetailDstEnd) UnmarshalJSON(src []byte) error
- func (v *NullableTimezoneDetailDstEnd) Unset()
- type NullableTimezoneDetailDstStart
- func (v NullableTimezoneDetailDstStart) Get() *TimezoneDetailDstStart
- func (v NullableTimezoneDetailDstStart) IsSet() bool
- func (v NullableTimezoneDetailDstStart) MarshalJSON() ([]byte, error)
- func (v *NullableTimezoneDetailDstStart) Set(val *TimezoneDetailDstStart)
- func (v *NullableTimezoneDetailDstStart) UnmarshalJSON(src []byte) error
- func (v *NullableTimezoneDetailDstStart) Unset()
- type NullableTimezoneLocation
- func (v NullableTimezoneLocation) Get() *TimezoneLocation
- func (v NullableTimezoneLocation) IsSet() bool
- func (v NullableTimezoneLocation) MarshalJSON() ([]byte, error)
- func (v *NullableTimezoneLocation) Set(val *TimezoneLocation)
- func (v *NullableTimezoneLocation) UnmarshalJSON(src []byte) error
- func (v *NullableTimezoneLocation) Unset()
- type NullableTimezoneLocode
- func (v NullableTimezoneLocode) Get() *TimezoneLocode
- func (v NullableTimezoneLocode) IsSet() bool
- func (v NullableTimezoneLocode) MarshalJSON() ([]byte, error)
- func (v *NullableTimezoneLocode) Set(val *TimezoneLocode)
- func (v *NullableTimezoneLocode) UnmarshalJSON(src []byte) error
- func (v *NullableTimezoneLocode) Unset()
- type NullableUserAgentData
- func (v NullableUserAgentData) Get() *UserAgentData
- func (v NullableUserAgentData) IsSet() bool
- func (v NullableUserAgentData) MarshalJSON() ([]byte, error)
- func (v *NullableUserAgentData) Set(val *UserAgentData)
- func (v *NullableUserAgentData) UnmarshalJSON(src []byte) error
- func (v *NullableUserAgentData) Unset()
- type NullableUserAgentDataDevice
- func (v NullableUserAgentDataDevice) Get() *UserAgentDataDevice
- func (v NullableUserAgentDataDevice) IsSet() bool
- func (v NullableUserAgentDataDevice) MarshalJSON() ([]byte, error)
- func (v *NullableUserAgentDataDevice) Set(val *UserAgentDataDevice)
- func (v *NullableUserAgentDataDevice) UnmarshalJSON(src []byte) error
- func (v *NullableUserAgentDataDevice) Unset()
- type NullableUserAgentDataEngine
- func (v NullableUserAgentDataEngine) Get() *UserAgentDataEngine
- func (v NullableUserAgentDataEngine) IsSet() bool
- func (v NullableUserAgentDataEngine) MarshalJSON() ([]byte, error)
- func (v *NullableUserAgentDataEngine) Set(val *UserAgentDataEngine)
- func (v *NullableUserAgentDataEngine) UnmarshalJSON(src []byte) error
- func (v *NullableUserAgentDataEngine) Unset()
- type NullableUserAgentDataOperatingSystem
- func (v NullableUserAgentDataOperatingSystem) Get() *UserAgentDataOperatingSystem
- func (v NullableUserAgentDataOperatingSystem) IsSet() bool
- func (v NullableUserAgentDataOperatingSystem) MarshalJSON() ([]byte, error)
- func (v *NullableUserAgentDataOperatingSystem) Set(val *UserAgentDataOperatingSystem)
- func (v *NullableUserAgentDataOperatingSystem) UnmarshalJSON(src []byte) error
- func (v *NullableUserAgentDataOperatingSystem) Unset()
- type NullableUserAgentXMLData
- func (v NullableUserAgentXMLData) Get() *UserAgentXMLData
- func (v NullableUserAgentXMLData) IsSet() bool
- func (v NullableUserAgentXMLData) MarshalJSON() ([]byte, error)
- func (v *NullableUserAgentXMLData) Set(val *UserAgentXMLData)
- func (v *NullableUserAgentXMLData) UnmarshalJSON(src []byte) error
- func (v *NullableUserAgentXMLData) Unset()
- type NullableUserAgentXMLDataArray
- func (v NullableUserAgentXMLDataArray) Get() *UserAgentXMLDataArray
- func (v NullableUserAgentXMLDataArray) IsSet() bool
- func (v NullableUserAgentXMLDataArray) MarshalJSON() ([]byte, error)
- func (v *NullableUserAgentXMLDataArray) Set(val *UserAgentXMLDataArray)
- func (v *NullableUserAgentXMLDataArray) UnmarshalJSON(src []byte) error
- func (v *NullableUserAgentXMLDataArray) Unset()
- type ParseBulkUserAgentStringsRequest
- func (o *ParseBulkUserAgentStringsRequest) GetUaStrings() []string
- func (o *ParseBulkUserAgentStringsRequest) GetUaStringsOk() ([]string, bool)
- func (o *ParseBulkUserAgentStringsRequest) HasUaStrings() bool
- func (o ParseBulkUserAgentStringsRequest) MarshalJSON() ([]byte, error)
- func (o *ParseBulkUserAgentStringsRequest) SetUaStrings(v []string)
- func (o ParseBulkUserAgentStringsRequest) ToMap() (map[string]interface{}, error)
- type ParseUserAgentStringRequest
- func (o *ParseUserAgentStringRequest) GetUaString() string
- func (o *ParseUserAgentStringRequest) GetUaStringOk() (*string, bool)
- func (o *ParseUserAgentStringRequest) HasUaString() bool
- func (o ParseUserAgentStringRequest) MarshalJSON() ([]byte, error)
- func (o *ParseUserAgentStringRequest) SetUaString(v string)
- func (o ParseUserAgentStringRequest) ToMap() (map[string]interface{}, error)
- type Security
- func (o *Security) GetCloudProvider() string
- func (o *Security) GetCloudProviderOk() (*string, bool)
- func (o *Security) GetIsAnonymous() bool
- func (o *Security) GetIsAnonymousOk() (*bool, bool)
- func (o *Security) GetIsBot() bool
- func (o *Security) GetIsBotOk() (*bool, bool)
- func (o *Security) GetIsCloudProvider() bool
- func (o *Security) GetIsCloudProviderOk() (*bool, bool)
- func (o *Security) GetIsKnownAttacker() bool
- func (o *Security) GetIsKnownAttackerOk() (*bool, bool)
- func (o *Security) GetIsProxy() bool
- func (o *Security) GetIsProxyOk() (*bool, bool)
- func (o *Security) GetIsSpam() bool
- func (o *Security) GetIsSpamOk() (*bool, bool)
- func (o *Security) GetIsTor() bool
- func (o *Security) GetIsTorOk() (*bool, bool)
- func (o *Security) GetProxyProvider() string
- func (o *Security) GetProxyProviderOk() (*string, bool)
- func (o *Security) GetProxyType() string
- func (o *Security) GetProxyTypeOk() (*string, bool)
- func (o *Security) GetThreatScore() int32
- func (o *Security) GetThreatScoreOk() (*int32, bool)
- func (o *Security) HasCloudProvider() bool
- func (o *Security) HasIsAnonymous() bool
- func (o *Security) HasIsBot() bool
- func (o *Security) HasIsCloudProvider() bool
- func (o *Security) HasIsKnownAttacker() bool
- func (o *Security) HasIsProxy() bool
- func (o *Security) HasIsSpam() bool
- func (o *Security) HasIsTor() bool
- func (o *Security) HasProxyProvider() bool
- func (o *Security) HasProxyType() bool
- func (o *Security) HasThreatScore() bool
- func (o Security) MarshalJSON() ([]byte, error)
- func (o *Security) SetCloudProvider(v string)
- func (o *Security) SetIsAnonymous(v bool)
- func (o *Security) SetIsBot(v bool)
- func (o *Security) SetIsCloudProvider(v bool)
- func (o *Security) SetIsKnownAttacker(v bool)
- func (o *Security) SetIsProxy(v bool)
- func (o *Security) SetIsSpam(v bool)
- func (o *Security) SetIsTor(v bool)
- func (o *Security) SetProxyProvider(v string)
- func (o *Security) SetProxyType(v string)
- func (o *Security) SetThreatScore(v int32)
- func (o Security) ToMap() (map[string]interface{}, error)
- type SecurityAPIResponse
- func (o *SecurityAPIResponse) GetCountryMetadata() CountryMetadata
- func (o *SecurityAPIResponse) GetCountryMetadataOk() (*CountryMetadata, bool)
- func (o *SecurityAPIResponse) GetCurrency() Currency
- func (o *SecurityAPIResponse) GetCurrencyOk() (*Currency, bool)
- func (o *SecurityAPIResponse) GetHostname() string
- func (o *SecurityAPIResponse) GetHostnameOk() (*string, bool)
- func (o *SecurityAPIResponse) GetIp() string
- func (o *SecurityAPIResponse) GetIpOk() (*string, bool)
- func (o *SecurityAPIResponse) GetLocation() LocationMinimal
- func (o *SecurityAPIResponse) GetLocationOk() (*LocationMinimal, bool)
- func (o *SecurityAPIResponse) GetNetwork() NetworkMinimal
- func (o *SecurityAPIResponse) GetNetworkOk() (*NetworkMinimal, bool)
- func (o *SecurityAPIResponse) GetSecurity() Security
- func (o *SecurityAPIResponse) GetSecurityOk() (*Security, bool)
- func (o *SecurityAPIResponse) GetTimeZone() TimeZone
- func (o *SecurityAPIResponse) GetTimeZoneOk() (*TimeZone, bool)
- func (o *SecurityAPIResponse) GetUserAgent() UserAgentData
- func (o *SecurityAPIResponse) GetUserAgentOk() (*UserAgentData, bool)
- func (o *SecurityAPIResponse) HasCountryMetadata() bool
- func (o *SecurityAPIResponse) HasCurrency() bool
- func (o *SecurityAPIResponse) HasHostname() bool
- func (o *SecurityAPIResponse) HasIp() bool
- func (o *SecurityAPIResponse) HasLocation() bool
- func (o *SecurityAPIResponse) HasNetwork() bool
- func (o *SecurityAPIResponse) HasSecurity() bool
- func (o *SecurityAPIResponse) HasTimeZone() bool
- func (o *SecurityAPIResponse) HasUserAgent() bool
- func (o SecurityAPIResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityAPIResponse) SetCountryMetadata(v CountryMetadata)
- func (o *SecurityAPIResponse) SetCurrency(v Currency)
- func (o *SecurityAPIResponse) SetHostname(v string)
- func (o *SecurityAPIResponse) SetIp(v string)
- func (o *SecurityAPIResponse) SetLocation(v LocationMinimal)
- func (o *SecurityAPIResponse) SetNetwork(v NetworkMinimal)
- func (o *SecurityAPIResponse) SetSecurity(v Security)
- func (o *SecurityAPIResponse) SetTimeZone(v TimeZone)
- func (o *SecurityAPIResponse) SetUserAgent(v UserAgentData)
- func (o SecurityAPIResponse) ToMap() (map[string]interface{}, error)
- type SecurityAPIService
- func (a *SecurityAPIService) GetBulkIpSecurityInfo(ctx context.Context) ApiGetBulkIpSecurityInfoRequest
- func (a *SecurityAPIService) GetBulkIpSecurityInfoExecute(r ApiGetBulkIpSecurityInfoRequest) ([]BulkIpSecurity, *http.Response, error)
- func (a *SecurityAPIService) GetIpSecurityInfo(ctx context.Context) ApiGetIpSecurityInfoRequest
- func (a *SecurityAPIService) GetIpSecurityInfoExecute(r ApiGetIpSecurityInfoRequest) (*SecurityAPIResponse, *http.Response, error)
- type SecurityAPIXMLResponse
- func (o *SecurityAPIXMLResponse) GetCountryMetadata() CountryMetadata
- func (o *SecurityAPIXMLResponse) GetCountryMetadataOk() (*CountryMetadata, bool)
- func (o *SecurityAPIXMLResponse) GetCurrency() Currency
- func (o *SecurityAPIXMLResponse) GetCurrencyOk() (*Currency, bool)
- func (o *SecurityAPIXMLResponse) GetHostname() string
- func (o *SecurityAPIXMLResponse) GetHostnameOk() (*string, bool)
- func (o *SecurityAPIXMLResponse) GetIp() string
- func (o *SecurityAPIXMLResponse) GetIpOk() (*string, bool)
- func (o *SecurityAPIXMLResponse) GetLocation() LocationMinimal
- func (o *SecurityAPIXMLResponse) GetLocationOk() (*LocationMinimal, bool)
- func (o *SecurityAPIXMLResponse) GetNetwork() NetworkMinimal
- func (o *SecurityAPIXMLResponse) GetNetworkOk() (*NetworkMinimal, bool)
- func (o *SecurityAPIXMLResponse) GetSecurity() Security
- func (o *SecurityAPIXMLResponse) GetSecurityOk() (*Security, bool)
- func (o *SecurityAPIXMLResponse) GetTimeZone() TimeZone
- func (o *SecurityAPIXMLResponse) GetTimeZoneOk() (*TimeZone, bool)
- func (o *SecurityAPIXMLResponse) GetUserAgent() UserAgentData
- func (o *SecurityAPIXMLResponse) GetUserAgentOk() (*UserAgentData, bool)
- func (o *SecurityAPIXMLResponse) HasCountryMetadata() bool
- func (o *SecurityAPIXMLResponse) HasCurrency() bool
- func (o *SecurityAPIXMLResponse) HasHostname() bool
- func (o *SecurityAPIXMLResponse) HasIp() bool
- func (o *SecurityAPIXMLResponse) HasLocation() bool
- func (o *SecurityAPIXMLResponse) HasNetwork() bool
- func (o *SecurityAPIXMLResponse) HasSecurity() bool
- func (o *SecurityAPIXMLResponse) HasTimeZone() bool
- func (o *SecurityAPIXMLResponse) HasUserAgent() bool
- func (o SecurityAPIXMLResponse) MarshalJSON() ([]byte, error)
- func (o *SecurityAPIXMLResponse) SetCountryMetadata(v CountryMetadata)
- func (o *SecurityAPIXMLResponse) SetCurrency(v Currency)
- func (o *SecurityAPIXMLResponse) SetHostname(v string)
- func (o *SecurityAPIXMLResponse) SetIp(v string)
- func (o *SecurityAPIXMLResponse) SetLocation(v LocationMinimal)
- func (o *SecurityAPIXMLResponse) SetNetwork(v NetworkMinimal)
- func (o *SecurityAPIXMLResponse) SetSecurity(v Security)
- func (o *SecurityAPIXMLResponse) SetTimeZone(v TimeZone)
- func (o *SecurityAPIXMLResponse) SetUserAgent(v UserAgentData)
- func (o SecurityAPIXMLResponse) ToMap() (map[string]interface{}, error)
- type SecurityAPIXMLResponseArray
- func (o *SecurityAPIXMLResponseArray) GetCountryMetadata() CountryMetadata
- func (o *SecurityAPIXMLResponseArray) GetCountryMetadataOk() (*CountryMetadata, bool)
- func (o *SecurityAPIXMLResponseArray) GetCurrency() Currency
- func (o *SecurityAPIXMLResponseArray) GetCurrencyOk() (*Currency, bool)
- func (o *SecurityAPIXMLResponseArray) GetHostname() string
- func (o *SecurityAPIXMLResponseArray) GetHostnameOk() (*string, bool)
- func (o *SecurityAPIXMLResponseArray) GetIp() string
- func (o *SecurityAPIXMLResponseArray) GetIpOk() (*string, bool)
- func (o *SecurityAPIXMLResponseArray) GetLocation() LocationMinimal
- func (o *SecurityAPIXMLResponseArray) GetLocationOk() (*LocationMinimal, bool)
- func (o *SecurityAPIXMLResponseArray) GetNetwork() NetworkMinimal
- func (o *SecurityAPIXMLResponseArray) GetNetworkOk() (*NetworkMinimal, bool)
- func (o *SecurityAPIXMLResponseArray) GetSecurity() Security
- func (o *SecurityAPIXMLResponseArray) GetSecurityOk() (*Security, bool)
- func (o *SecurityAPIXMLResponseArray) GetTimeZone() TimeZone
- func (o *SecurityAPIXMLResponseArray) GetTimeZoneOk() (*TimeZone, bool)
- func (o *SecurityAPIXMLResponseArray) GetUserAgent() UserAgentData
- func (o *SecurityAPIXMLResponseArray) GetUserAgentOk() (*UserAgentData, bool)
- func (o *SecurityAPIXMLResponseArray) HasCountryMetadata() bool
- func (o *SecurityAPIXMLResponseArray) HasCurrency() bool
- func (o *SecurityAPIXMLResponseArray) HasHostname() bool
- func (o *SecurityAPIXMLResponseArray) HasIp() bool
- func (o *SecurityAPIXMLResponseArray) HasLocation() bool
- func (o *SecurityAPIXMLResponseArray) HasNetwork() bool
- func (o *SecurityAPIXMLResponseArray) HasSecurity() bool
- func (o *SecurityAPIXMLResponseArray) HasTimeZone() bool
- func (o *SecurityAPIXMLResponseArray) HasUserAgent() bool
- func (o SecurityAPIXMLResponseArray) MarshalJSON() ([]byte, error)
- func (o *SecurityAPIXMLResponseArray) SetCountryMetadata(v CountryMetadata)
- func (o *SecurityAPIXMLResponseArray) SetCurrency(v Currency)
- func (o *SecurityAPIXMLResponseArray) SetHostname(v string)
- func (o *SecurityAPIXMLResponseArray) SetIp(v string)
- func (o *SecurityAPIXMLResponseArray) SetLocation(v LocationMinimal)
- func (o *SecurityAPIXMLResponseArray) SetNetwork(v NetworkMinimal)
- func (o *SecurityAPIXMLResponseArray) SetSecurity(v Security)
- func (o *SecurityAPIXMLResponseArray) SetTimeZone(v TimeZone)
- func (o *SecurityAPIXMLResponseArray) SetUserAgent(v UserAgentData)
- func (o SecurityAPIXMLResponseArray) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TimeConversionAPI
- type TimeConversionAPIService
- type TimeConversionResponse
- func (o *TimeConversionResponse) GetConvertedTime() string
- func (o *TimeConversionResponse) GetConvertedTimeOk() (*string, bool)
- func (o *TimeConversionResponse) GetDiffHour() float32
- func (o *TimeConversionResponse) GetDiffHourOk() (*float32, bool)
- func (o *TimeConversionResponse) GetDiffMin() int32
- func (o *TimeConversionResponse) GetDiffMinOk() (*int32, bool)
- func (o *TimeConversionResponse) GetOriginalTime() string
- func (o *TimeConversionResponse) GetOriginalTimeOk() (*string, bool)
- func (o *TimeConversionResponse) HasConvertedTime() bool
- func (o *TimeConversionResponse) HasDiffHour() bool
- func (o *TimeConversionResponse) HasDiffMin() bool
- func (o *TimeConversionResponse) HasOriginalTime() bool
- func (o TimeConversionResponse) MarshalJSON() ([]byte, error)
- func (o *TimeConversionResponse) SetConvertedTime(v string)
- func (o *TimeConversionResponse) SetDiffHour(v float32)
- func (o *TimeConversionResponse) SetDiffMin(v int32)
- func (o *TimeConversionResponse) SetOriginalTime(v string)
- func (o TimeConversionResponse) ToMap() (map[string]interface{}, error)
- type TimeConversionXMLResponse
- func (o *TimeConversionXMLResponse) GetConvertedTime() string
- func (o *TimeConversionXMLResponse) GetConvertedTimeOk() (*string, bool)
- func (o *TimeConversionXMLResponse) GetDiffHour() float32
- func (o *TimeConversionXMLResponse) GetDiffHourOk() (*float32, bool)
- func (o *TimeConversionXMLResponse) GetDiffMin() int32
- func (o *TimeConversionXMLResponse) GetDiffMinOk() (*int32, bool)
- func (o *TimeConversionXMLResponse) GetOriginalTime() string
- func (o *TimeConversionXMLResponse) GetOriginalTimeOk() (*string, bool)
- func (o *TimeConversionXMLResponse) HasConvertedTime() bool
- func (o *TimeConversionXMLResponse) HasDiffHour() bool
- func (o *TimeConversionXMLResponse) HasDiffMin() bool
- func (o *TimeConversionXMLResponse) HasOriginalTime() bool
- func (o TimeConversionXMLResponse) MarshalJSON() ([]byte, error)
- func (o *TimeConversionXMLResponse) SetConvertedTime(v string)
- func (o *TimeConversionXMLResponse) SetDiffHour(v float32)
- func (o *TimeConversionXMLResponse) SetDiffMin(v int32)
- func (o *TimeConversionXMLResponse) SetOriginalTime(v string)
- func (o TimeConversionXMLResponse) ToMap() (map[string]interface{}, error)
- type TimeZone
- func (o *TimeZone) GetCurrentTime() string
- func (o *TimeZone) GetCurrentTimeOk() (*string, bool)
- func (o *TimeZone) GetCurrentTimeUnix() float32
- func (o *TimeZone) GetCurrentTimeUnixOk() (*float32, bool)
- func (o *TimeZone) GetDstEnd() TimeZoneDstEnd
- func (o *TimeZone) GetDstEndOk() (*TimeZoneDstEnd, bool)
- func (o *TimeZone) GetDstExists() bool
- func (o *TimeZone) GetDstExistsOk() (*bool, bool)
- func (o *TimeZone) GetDstSavings() int32
- func (o *TimeZone) GetDstSavingsOk() (*int32, bool)
- func (o *TimeZone) GetDstStart() TimeZoneDstStart
- func (o *TimeZone) GetDstStartOk() (*TimeZoneDstStart, bool)
- func (o *TimeZone) GetIsDst() bool
- func (o *TimeZone) GetIsDstOk() (*bool, bool)
- func (o *TimeZone) GetName() string
- func (o *TimeZone) GetNameOk() (*string, bool)
- func (o *TimeZone) GetOffset() int32
- func (o *TimeZone) GetOffsetOk() (*int32, bool)
- func (o *TimeZone) GetOffsetWithDst() int32
- func (o *TimeZone) GetOffsetWithDstOk() (*int32, bool)
- func (o *TimeZone) HasCurrentTime() bool
- func (o *TimeZone) HasCurrentTimeUnix() bool
- func (o *TimeZone) HasDstEnd() bool
- func (o *TimeZone) HasDstExists() bool
- func (o *TimeZone) HasDstSavings() bool
- func (o *TimeZone) HasDstStart() bool
- func (o *TimeZone) HasIsDst() bool
- func (o *TimeZone) HasName() bool
- func (o *TimeZone) HasOffset() bool
- func (o *TimeZone) HasOffsetWithDst() bool
- func (o TimeZone) MarshalJSON() ([]byte, error)
- func (o *TimeZone) SetCurrentTime(v string)
- func (o *TimeZone) SetCurrentTimeUnix(v float32)
- func (o *TimeZone) SetDstEnd(v TimeZoneDstEnd)
- func (o *TimeZone) SetDstExists(v bool)
- func (o *TimeZone) SetDstSavings(v int32)
- func (o *TimeZone) SetDstStart(v TimeZoneDstStart)
- func (o *TimeZone) SetIsDst(v bool)
- func (o *TimeZone) SetName(v string)
- func (o *TimeZone) SetOffset(v int32)
- func (o *TimeZone) SetOffsetWithDst(v int32)
- func (o TimeZone) ToMap() (map[string]interface{}, error)
- type TimeZoneDetailedResponse
- func (o *TimeZoneDetailedResponse) GetAirportDetails() TimezoneAirport
- func (o *TimeZoneDetailedResponse) GetAirportDetailsOk() (*TimezoneAirport, bool)
- func (o *TimeZoneDetailedResponse) GetIp() string
- func (o *TimeZoneDetailedResponse) GetIpOk() (*string, bool)
- func (o *TimeZoneDetailedResponse) GetLoCodeDetails() TimezoneLocode
- func (o *TimeZoneDetailedResponse) GetLoCodeDetailsOk() (*TimezoneLocode, bool)
- func (o *TimeZoneDetailedResponse) GetLocation() TimezoneLocation
- func (o *TimeZoneDetailedResponse) GetLocationOk() (*TimezoneLocation, bool)
- func (o *TimeZoneDetailedResponse) GetTimeZone() TimezoneDetail
- func (o *TimeZoneDetailedResponse) GetTimeZoneOk() (*TimezoneDetail, bool)
- func (o *TimeZoneDetailedResponse) HasAirportDetails() bool
- func (o *TimeZoneDetailedResponse) HasIp() bool
- func (o *TimeZoneDetailedResponse) HasLoCodeDetails() bool
- func (o *TimeZoneDetailedResponse) HasLocation() bool
- func (o *TimeZoneDetailedResponse) HasTimeZone() bool
- func (o TimeZoneDetailedResponse) MarshalJSON() ([]byte, error)
- func (o *TimeZoneDetailedResponse) SetAirportDetails(v TimezoneAirport)
- func (o *TimeZoneDetailedResponse) SetIp(v string)
- func (o *TimeZoneDetailedResponse) SetLoCodeDetails(v TimezoneLocode)
- func (o *TimeZoneDetailedResponse) SetLocation(v TimezoneLocation)
- func (o *TimeZoneDetailedResponse) SetTimeZone(v TimezoneDetail)
- func (o TimeZoneDetailedResponse) ToMap() (map[string]interface{}, error)
- type TimeZoneDetailedXMLResponse
- func (o *TimeZoneDetailedXMLResponse) GetAirportDetails() TimezoneAirport
- func (o *TimeZoneDetailedXMLResponse) GetAirportDetailsOk() (*TimezoneAirport, bool)
- func (o *TimeZoneDetailedXMLResponse) GetIp() string
- func (o *TimeZoneDetailedXMLResponse) GetIpOk() (*string, bool)
- func (o *TimeZoneDetailedXMLResponse) GetLoCodeDetails() TimezoneLocode
- func (o *TimeZoneDetailedXMLResponse) GetLoCodeDetailsOk() (*TimezoneLocode, bool)
- func (o *TimeZoneDetailedXMLResponse) GetLocation() TimezoneLocation
- func (o *TimeZoneDetailedXMLResponse) GetLocationOk() (*TimezoneLocation, bool)
- func (o *TimeZoneDetailedXMLResponse) GetTimeZone() TimezoneDetail
- func (o *TimeZoneDetailedXMLResponse) GetTimeZoneOk() (*TimezoneDetail, bool)
- func (o *TimeZoneDetailedXMLResponse) HasAirportDetails() bool
- func (o *TimeZoneDetailedXMLResponse) HasIp() bool
- func (o *TimeZoneDetailedXMLResponse) HasLoCodeDetails() bool
- func (o *TimeZoneDetailedXMLResponse) HasLocation() bool
- func (o *TimeZoneDetailedXMLResponse) HasTimeZone() bool
- func (o TimeZoneDetailedXMLResponse) MarshalJSON() ([]byte, error)
- func (o *TimeZoneDetailedXMLResponse) SetAirportDetails(v TimezoneAirport)
- func (o *TimeZoneDetailedXMLResponse) SetIp(v string)
- func (o *TimeZoneDetailedXMLResponse) SetLoCodeDetails(v TimezoneLocode)
- func (o *TimeZoneDetailedXMLResponse) SetLocation(v TimezoneLocation)
- func (o *TimeZoneDetailedXMLResponse) SetTimeZone(v TimezoneDetail)
- func (o TimeZoneDetailedXMLResponse) ToMap() (map[string]interface{}, error)
- type TimeZoneDstEnd
- func (o *TimeZoneDstEnd) GetDateTimeAfter() string
- func (o *TimeZoneDstEnd) GetDateTimeAfterOk() (*string, bool)
- func (o *TimeZoneDstEnd) GetDateTimeBefore() string
- func (o *TimeZoneDstEnd) GetDateTimeBeforeOk() (*string, bool)
- func (o *TimeZoneDstEnd) GetDuration() string
- func (o *TimeZoneDstEnd) GetDurationOk() (*string, bool)
- func (o *TimeZoneDstEnd) GetGap() bool
- func (o *TimeZoneDstEnd) GetGapOk() (*bool, bool)
- func (o *TimeZoneDstEnd) GetOverlap() bool
- func (o *TimeZoneDstEnd) GetOverlapOk() (*bool, bool)
- func (o *TimeZoneDstEnd) GetUtcTime() string
- func (o *TimeZoneDstEnd) GetUtcTimeOk() (*string, bool)
- func (o *TimeZoneDstEnd) HasDateTimeAfter() bool
- func (o *TimeZoneDstEnd) HasDateTimeBefore() bool
- func (o *TimeZoneDstEnd) HasDuration() bool
- func (o *TimeZoneDstEnd) HasGap() bool
- func (o *TimeZoneDstEnd) HasOverlap() bool
- func (o *TimeZoneDstEnd) HasUtcTime() bool
- func (o TimeZoneDstEnd) MarshalJSON() ([]byte, error)
- func (o *TimeZoneDstEnd) SetDateTimeAfter(v string)
- func (o *TimeZoneDstEnd) SetDateTimeBefore(v string)
- func (o *TimeZoneDstEnd) SetDuration(v string)
- func (o *TimeZoneDstEnd) SetGap(v bool)
- func (o *TimeZoneDstEnd) SetOverlap(v bool)
- func (o *TimeZoneDstEnd) SetUtcTime(v string)
- func (o TimeZoneDstEnd) ToMap() (map[string]interface{}, error)
- type TimeZoneDstStart
- func (o *TimeZoneDstStart) GetDateTimeAfter() string
- func (o *TimeZoneDstStart) GetDateTimeAfterOk() (*string, bool)
- func (o *TimeZoneDstStart) GetDateTimeBefore() string
- func (o *TimeZoneDstStart) GetDateTimeBeforeOk() (*string, bool)
- func (o *TimeZoneDstStart) GetDuration() string
- func (o *TimeZoneDstStart) GetDurationOk() (*string, bool)
- func (o *TimeZoneDstStart) GetGap() bool
- func (o *TimeZoneDstStart) GetGapOk() (*bool, bool)
- func (o *TimeZoneDstStart) GetOverlap() bool
- func (o *TimeZoneDstStart) GetOverlapOk() (*bool, bool)
- func (o *TimeZoneDstStart) GetUtcTime() string
- func (o *TimeZoneDstStart) GetUtcTimeOk() (*string, bool)
- func (o *TimeZoneDstStart) HasDateTimeAfter() bool
- func (o *TimeZoneDstStart) HasDateTimeBefore() bool
- func (o *TimeZoneDstStart) HasDuration() bool
- func (o *TimeZoneDstStart) HasGap() bool
- func (o *TimeZoneDstStart) HasOverlap() bool
- func (o *TimeZoneDstStart) HasUtcTime() bool
- func (o TimeZoneDstStart) MarshalJSON() ([]byte, error)
- func (o *TimeZoneDstStart) SetDateTimeAfter(v string)
- func (o *TimeZoneDstStart) SetDateTimeBefore(v string)
- func (o *TimeZoneDstStart) SetDuration(v string)
- func (o *TimeZoneDstStart) SetGap(v bool)
- func (o *TimeZoneDstStart) SetOverlap(v bool)
- func (o *TimeZoneDstStart) SetUtcTime(v string)
- func (o TimeZoneDstStart) ToMap() (map[string]interface{}, error)
- type TimezoneAPI
- type TimezoneAPIService
- type TimezoneAirport
- func (o *TimezoneAirport) GetCity() string
- func (o *TimezoneAirport) GetCityOk() (*string, bool)
- func (o *TimezoneAirport) GetContinentCode() string
- func (o *TimezoneAirport) GetContinentCodeOk() (*string, bool)
- func (o *TimezoneAirport) GetCountryCode() string
- func (o *TimezoneAirport) GetCountryCodeOk() (*string, bool)
- func (o *TimezoneAirport) GetElevationFt() int32
- func (o *TimezoneAirport) GetElevationFtOk() (*int32, bool)
- func (o *TimezoneAirport) GetFaaCode() string
- func (o *TimezoneAirport) GetFaaCodeOk() (*string, bool)
- func (o *TimezoneAirport) GetIataCode() string
- func (o *TimezoneAirport) GetIataCodeOk() (*string, bool)
- func (o *TimezoneAirport) GetIcaoCode() string
- func (o *TimezoneAirport) GetIcaoCodeOk() (*string, bool)
- func (o *TimezoneAirport) GetLatitude() string
- func (o *TimezoneAirport) GetLatitudeOk() (*string, bool)
- func (o *TimezoneAirport) GetLongitude() string
- func (o *TimezoneAirport) GetLongitudeOk() (*string, bool)
- func (o *TimezoneAirport) GetName() string
- func (o *TimezoneAirport) GetNameOk() (*string, bool)
- func (o *TimezoneAirport) GetStateCode() string
- func (o *TimezoneAirport) GetStateCodeOk() (*string, bool)
- func (o *TimezoneAirport) GetType() string
- func (o *TimezoneAirport) GetTypeOk() (*string, bool)
- func (o *TimezoneAirport) HasCity() bool
- func (o *TimezoneAirport) HasContinentCode() bool
- func (o *TimezoneAirport) HasCountryCode() bool
- func (o *TimezoneAirport) HasElevationFt() bool
- func (o *TimezoneAirport) HasFaaCode() bool
- func (o *TimezoneAirport) HasIataCode() bool
- func (o *TimezoneAirport) HasIcaoCode() bool
- func (o *TimezoneAirport) HasLatitude() bool
- func (o *TimezoneAirport) HasLongitude() bool
- func (o *TimezoneAirport) HasName() bool
- func (o *TimezoneAirport) HasStateCode() bool
- func (o *TimezoneAirport) HasType() bool
- func (o TimezoneAirport) MarshalJSON() ([]byte, error)
- func (o *TimezoneAirport) SetCity(v string)
- func (o *TimezoneAirport) SetContinentCode(v string)
- func (o *TimezoneAirport) SetCountryCode(v string)
- func (o *TimezoneAirport) SetElevationFt(v int32)
- func (o *TimezoneAirport) SetFaaCode(v string)
- func (o *TimezoneAirport) SetIataCode(v string)
- func (o *TimezoneAirport) SetIcaoCode(v string)
- func (o *TimezoneAirport) SetLatitude(v string)
- func (o *TimezoneAirport) SetLongitude(v string)
- func (o *TimezoneAirport) SetName(v string)
- func (o *TimezoneAirport) SetStateCode(v string)
- func (o *TimezoneAirport) SetType(v string)
- func (o TimezoneAirport) ToMap() (map[string]interface{}, error)
- type TimezoneDetail
- func (o *TimezoneDetail) GetDate() string
- func (o *TimezoneDetail) GetDateOk() (*string, bool)
- func (o *TimezoneDetail) GetDateTime() string
- func (o *TimezoneDetail) GetDateTimeOk() (*string, bool)
- func (o *TimezoneDetail) GetDateTimeTxt() string
- func (o *TimezoneDetail) GetDateTimeTxtOk() (*string, bool)
- func (o *TimezoneDetail) GetDateTimeUnix() float64
- func (o *TimezoneDetail) GetDateTimeUnixOk() (*float64, bool)
- func (o *TimezoneDetail) GetDateTimeWti() string
- func (o *TimezoneDetail) GetDateTimeWtiOk() (*string, bool)
- func (o *TimezoneDetail) GetDateTimeYmd() string
- func (o *TimezoneDetail) GetDateTimeYmdOk() (*string, bool)
- func (o *TimezoneDetail) GetDstEnd() TimezoneDetailDstEnd
- func (o *TimezoneDetail) GetDstEndOk() (*TimezoneDetailDstEnd, bool)
- func (o *TimezoneDetail) GetDstExists() bool
- func (o *TimezoneDetail) GetDstExistsOk() (*bool, bool)
- func (o *TimezoneDetail) GetDstSavings() int32
- func (o *TimezoneDetail) GetDstSavingsOk() (*int32, bool)
- func (o *TimezoneDetail) GetDstStart() TimezoneDetailDstStart
- func (o *TimezoneDetail) GetDstStartOk() (*TimezoneDetailDstStart, bool)
- func (o *TimezoneDetail) GetIsDst() bool
- func (o *TimezoneDetail) GetIsDstOk() (*bool, bool)
- func (o *TimezoneDetail) GetMonth() int32
- func (o *TimezoneDetail) GetMonthOk() (*int32, bool)
- func (o *TimezoneDetail) GetName() string
- func (o *TimezoneDetail) GetNameOk() (*string, bool)
- func (o *TimezoneDetail) GetOffset() int32
- func (o *TimezoneDetail) GetOffsetOk() (*int32, bool)
- func (o *TimezoneDetail) GetOffsetWithDst() int32
- func (o *TimezoneDetail) GetOffsetWithDstOk() (*int32, bool)
- func (o *TimezoneDetail) GetTime12() string
- func (o *TimezoneDetail) GetTime12Ok() (*string, bool)
- func (o *TimezoneDetail) GetTime24() string
- func (o *TimezoneDetail) GetTime24Ok() (*string, bool)
- func (o *TimezoneDetail) GetWeek() int32
- func (o *TimezoneDetail) GetWeekOk() (*int32, bool)
- func (o *TimezoneDetail) GetYear() int32
- func (o *TimezoneDetail) GetYearAbbr() string
- func (o *TimezoneDetail) GetYearAbbrOk() (*string, bool)
- func (o *TimezoneDetail) GetYearOk() (*int32, bool)
- func (o *TimezoneDetail) HasDate() bool
- func (o *TimezoneDetail) HasDateTime() bool
- func (o *TimezoneDetail) HasDateTimeTxt() bool
- func (o *TimezoneDetail) HasDateTimeUnix() bool
- func (o *TimezoneDetail) HasDateTimeWti() bool
- func (o *TimezoneDetail) HasDateTimeYmd() bool
- func (o *TimezoneDetail) HasDstEnd() bool
- func (o *TimezoneDetail) HasDstExists() bool
- func (o *TimezoneDetail) HasDstSavings() bool
- func (o *TimezoneDetail) HasDstStart() bool
- func (o *TimezoneDetail) HasIsDst() bool
- func (o *TimezoneDetail) HasMonth() bool
- func (o *TimezoneDetail) HasName() bool
- func (o *TimezoneDetail) HasOffset() bool
- func (o *TimezoneDetail) HasOffsetWithDst() bool
- func (o *TimezoneDetail) HasTime12() bool
- func (o *TimezoneDetail) HasTime24() bool
- func (o *TimezoneDetail) HasWeek() bool
- func (o *TimezoneDetail) HasYear() bool
- func (o *TimezoneDetail) HasYearAbbr() bool
- func (o TimezoneDetail) MarshalJSON() ([]byte, error)
- func (o *TimezoneDetail) SetDate(v string)
- func (o *TimezoneDetail) SetDateTime(v string)
- func (o *TimezoneDetail) SetDateTimeTxt(v string)
- func (o *TimezoneDetail) SetDateTimeUnix(v float64)
- func (o *TimezoneDetail) SetDateTimeWti(v string)
- func (o *TimezoneDetail) SetDateTimeYmd(v string)
- func (o *TimezoneDetail) SetDstEnd(v TimezoneDetailDstEnd)
- func (o *TimezoneDetail) SetDstExists(v bool)
- func (o *TimezoneDetail) SetDstSavings(v int32)
- func (o *TimezoneDetail) SetDstStart(v TimezoneDetailDstStart)
- func (o *TimezoneDetail) SetIsDst(v bool)
- func (o *TimezoneDetail) SetMonth(v int32)
- func (o *TimezoneDetail) SetName(v string)
- func (o *TimezoneDetail) SetOffset(v int32)
- func (o *TimezoneDetail) SetOffsetWithDst(v int32)
- func (o *TimezoneDetail) SetTime12(v string)
- func (o *TimezoneDetail) SetTime24(v string)
- func (o *TimezoneDetail) SetWeek(v int32)
- func (o *TimezoneDetail) SetYear(v int32)
- func (o *TimezoneDetail) SetYearAbbr(v string)
- func (o TimezoneDetail) ToMap() (map[string]interface{}, error)
- type TimezoneDetailDstEnd
- func (o *TimezoneDetailDstEnd) GetDateTimeAfter() string
- func (o *TimezoneDetailDstEnd) GetDateTimeAfterOk() (*string, bool)
- func (o *TimezoneDetailDstEnd) GetDateTimeBefore() string
- func (o *TimezoneDetailDstEnd) GetDateTimeBeforeOk() (*string, bool)
- func (o *TimezoneDetailDstEnd) GetDuration() string
- func (o *TimezoneDetailDstEnd) GetDurationOk() (*string, bool)
- func (o *TimezoneDetailDstEnd) GetGap() bool
- func (o *TimezoneDetailDstEnd) GetGapOk() (*bool, bool)
- func (o *TimezoneDetailDstEnd) GetOverlap() bool
- func (o *TimezoneDetailDstEnd) GetOverlapOk() (*bool, bool)
- func (o *TimezoneDetailDstEnd) GetUtcTime() string
- func (o *TimezoneDetailDstEnd) GetUtcTimeOk() (*string, bool)
- func (o *TimezoneDetailDstEnd) HasDateTimeAfter() bool
- func (o *TimezoneDetailDstEnd) HasDateTimeBefore() bool
- func (o *TimezoneDetailDstEnd) HasDuration() bool
- func (o *TimezoneDetailDstEnd) HasGap() bool
- func (o *TimezoneDetailDstEnd) HasOverlap() bool
- func (o *TimezoneDetailDstEnd) HasUtcTime() bool
- func (o TimezoneDetailDstEnd) MarshalJSON() ([]byte, error)
- func (o *TimezoneDetailDstEnd) SetDateTimeAfter(v string)
- func (o *TimezoneDetailDstEnd) SetDateTimeBefore(v string)
- func (o *TimezoneDetailDstEnd) SetDuration(v string)
- func (o *TimezoneDetailDstEnd) SetGap(v bool)
- func (o *TimezoneDetailDstEnd) SetOverlap(v bool)
- func (o *TimezoneDetailDstEnd) SetUtcTime(v string)
- func (o TimezoneDetailDstEnd) ToMap() (map[string]interface{}, error)
- type TimezoneDetailDstStart
- func (o *TimezoneDetailDstStart) GetDateTimeAfter() string
- func (o *TimezoneDetailDstStart) GetDateTimeAfterOk() (*string, bool)
- func (o *TimezoneDetailDstStart) GetDateTimeBefore() string
- func (o *TimezoneDetailDstStart) GetDateTimeBeforeOk() (*string, bool)
- func (o *TimezoneDetailDstStart) GetDuration() string
- func (o *TimezoneDetailDstStart) GetDurationOk() (*string, bool)
- func (o *TimezoneDetailDstStart) GetGap() bool
- func (o *TimezoneDetailDstStart) GetGapOk() (*bool, bool)
- func (o *TimezoneDetailDstStart) GetOverlap() bool
- func (o *TimezoneDetailDstStart) GetOverlapOk() (*bool, bool)
- func (o *TimezoneDetailDstStart) GetUtcTime() string
- func (o *TimezoneDetailDstStart) GetUtcTimeOk() (*string, bool)
- func (o *TimezoneDetailDstStart) HasDateTimeAfter() bool
- func (o *TimezoneDetailDstStart) HasDateTimeBefore() bool
- func (o *TimezoneDetailDstStart) HasDuration() bool
- func (o *TimezoneDetailDstStart) HasGap() bool
- func (o *TimezoneDetailDstStart) HasOverlap() bool
- func (o *TimezoneDetailDstStart) HasUtcTime() bool
- func (o TimezoneDetailDstStart) MarshalJSON() ([]byte, error)
- func (o *TimezoneDetailDstStart) SetDateTimeAfter(v string)
- func (o *TimezoneDetailDstStart) SetDateTimeBefore(v string)
- func (o *TimezoneDetailDstStart) SetDuration(v string)
- func (o *TimezoneDetailDstStart) SetGap(v bool)
- func (o *TimezoneDetailDstStart) SetOverlap(v bool)
- func (o *TimezoneDetailDstStart) SetUtcTime(v string)
- func (o TimezoneDetailDstStart) ToMap() (map[string]interface{}, error)
- type TimezoneLocation
- func (o *TimezoneLocation) GetCity() string
- func (o *TimezoneLocation) GetCityOk() (*string, bool)
- func (o *TimezoneLocation) GetContinentCode() string
- func (o *TimezoneLocation) GetContinentCodeOk() (*string, bool)
- func (o *TimezoneLocation) GetContinentName() string
- func (o *TimezoneLocation) GetContinentNameOk() (*string, bool)
- func (o *TimezoneLocation) GetCountryCode2() string
- func (o *TimezoneLocation) GetCountryCode2Ok() (*string, bool)
- func (o *TimezoneLocation) GetCountryCode3() string
- func (o *TimezoneLocation) GetCountryCode3Ok() (*string, bool)
- func (o *TimezoneLocation) GetCountryName() string
- func (o *TimezoneLocation) GetCountryNameOfficial() string
- func (o *TimezoneLocation) GetCountryNameOfficialOk() (*string, bool)
- func (o *TimezoneLocation) GetCountryNameOk() (*string, bool)
- func (o *TimezoneLocation) GetDistrict() string
- func (o *TimezoneLocation) GetDistrictOk() (*string, bool)
- func (o *TimezoneLocation) GetIsEu() bool
- func (o *TimezoneLocation) GetIsEuOk() (*bool, bool)
- func (o *TimezoneLocation) GetLatitude() string
- func (o *TimezoneLocation) GetLatitudeOk() (*string, bool)
- func (o *TimezoneLocation) GetLocality() string
- func (o *TimezoneLocation) GetLocalityOk() (*string, bool)
- func (o *TimezoneLocation) GetLocationString() string
- func (o *TimezoneLocation) GetLocationStringOk() (*string, bool)
- func (o *TimezoneLocation) GetLongitude() string
- func (o *TimezoneLocation) GetLongitudeOk() (*string, bool)
- func (o *TimezoneLocation) GetStateCode() string
- func (o *TimezoneLocation) GetStateCodeOk() (*string, bool)
- func (o *TimezoneLocation) GetStateProv() string
- func (o *TimezoneLocation) GetStateProvOk() (*string, bool)
- func (o *TimezoneLocation) GetZipcode() string
- func (o *TimezoneLocation) GetZipcodeOk() (*string, bool)
- func (o *TimezoneLocation) HasCity() bool
- func (o *TimezoneLocation) HasContinentCode() bool
- func (o *TimezoneLocation) HasContinentName() bool
- func (o *TimezoneLocation) HasCountryCode2() bool
- func (o *TimezoneLocation) HasCountryCode3() bool
- func (o *TimezoneLocation) HasCountryName() bool
- func (o *TimezoneLocation) HasCountryNameOfficial() bool
- func (o *TimezoneLocation) HasDistrict() bool
- func (o *TimezoneLocation) HasIsEu() bool
- func (o *TimezoneLocation) HasLatitude() bool
- func (o *TimezoneLocation) HasLocality() bool
- func (o *TimezoneLocation) HasLocationString() bool
- func (o *TimezoneLocation) HasLongitude() bool
- func (o *TimezoneLocation) HasStateCode() bool
- func (o *TimezoneLocation) HasStateProv() bool
- func (o *TimezoneLocation) HasZipcode() bool
- func (o TimezoneLocation) MarshalJSON() ([]byte, error)
- func (o *TimezoneLocation) SetCity(v string)
- func (o *TimezoneLocation) SetContinentCode(v string)
- func (o *TimezoneLocation) SetContinentName(v string)
- func (o *TimezoneLocation) SetCountryCode2(v string)
- func (o *TimezoneLocation) SetCountryCode3(v string)
- func (o *TimezoneLocation) SetCountryName(v string)
- func (o *TimezoneLocation) SetCountryNameOfficial(v string)
- func (o *TimezoneLocation) SetDistrict(v string)
- func (o *TimezoneLocation) SetIsEu(v bool)
- func (o *TimezoneLocation) SetLatitude(v string)
- func (o *TimezoneLocation) SetLocality(v string)
- func (o *TimezoneLocation) SetLocationString(v string)
- func (o *TimezoneLocation) SetLongitude(v string)
- func (o *TimezoneLocation) SetStateCode(v string)
- func (o *TimezoneLocation) SetStateProv(v string)
- func (o *TimezoneLocation) SetZipcode(v string)
- func (o TimezoneLocation) ToMap() (map[string]interface{}, error)
- type TimezoneLocode
- func (o *TimezoneLocode) GetCity() string
- func (o *TimezoneLocode) GetCityOk() (*string, bool)
- func (o *TimezoneLocode) GetCountryCode() string
- func (o *TimezoneLocode) GetCountryCodeOk() (*string, bool)
- func (o *TimezoneLocode) GetCountryName() string
- func (o *TimezoneLocode) GetCountryNameOk() (*string, bool)
- func (o *TimezoneLocode) GetLatitude() string
- func (o *TimezoneLocode) GetLatitudeOk() (*string, bool)
- func (o *TimezoneLocode) GetLoCode() string
- func (o *TimezoneLocode) GetLoCodeOk() (*string, bool)
- func (o *TimezoneLocode) GetLocationType() string
- func (o *TimezoneLocode) GetLocationTypeOk() (*string, bool)
- func (o *TimezoneLocode) GetLongitude() string
- func (o *TimezoneLocode) GetLongitudeOk() (*string, bool)
- func (o *TimezoneLocode) GetStateCode() string
- func (o *TimezoneLocode) GetStateCodeOk() (*string, bool)
- func (o *TimezoneLocode) HasCity() bool
- func (o *TimezoneLocode) HasCountryCode() bool
- func (o *TimezoneLocode) HasCountryName() bool
- func (o *TimezoneLocode) HasLatitude() bool
- func (o *TimezoneLocode) HasLoCode() bool
- func (o *TimezoneLocode) HasLocationType() bool
- func (o *TimezoneLocode) HasLongitude() bool
- func (o *TimezoneLocode) HasStateCode() bool
- func (o TimezoneLocode) MarshalJSON() ([]byte, error)
- func (o *TimezoneLocode) SetCity(v string)
- func (o *TimezoneLocode) SetCountryCode(v string)
- func (o *TimezoneLocode) SetCountryName(v string)
- func (o *TimezoneLocode) SetLatitude(v string)
- func (o *TimezoneLocode) SetLoCode(v string)
- func (o *TimezoneLocode) SetLocationType(v string)
- func (o *TimezoneLocode) SetLongitude(v string)
- func (o *TimezoneLocode) SetStateCode(v string)
- func (o TimezoneLocode) ToMap() (map[string]interface{}, error)
- type UserAgentAPI
- type UserAgentAPIService
- func (a *UserAgentAPIService) GetUserAgentDetails(ctx context.Context) ApiGetUserAgentDetailsRequest
- func (a *UserAgentAPIService) GetUserAgentDetailsExecute(r ApiGetUserAgentDetailsRequest) (*UserAgentData, *http.Response, error)
- func (a *UserAgentAPIService) ParseBulkUserAgentStrings(ctx context.Context) ApiParseBulkUserAgentStringsRequest
- func (a *UserAgentAPIService) ParseBulkUserAgentStringsExecute(r ApiParseBulkUserAgentStringsRequest) ([]UserAgentData, *http.Response, error)
- func (a *UserAgentAPIService) ParseUserAgentString(ctx context.Context) ApiParseUserAgentStringRequest
- func (a *UserAgentAPIService) ParseUserAgentStringExecute(r ApiParseUserAgentStringRequest) (*UserAgentData, *http.Response, error)
- type UserAgentData
- func (o *UserAgentData) GetDevice() UserAgentDataDevice
- func (o *UserAgentData) GetDeviceOk() (*UserAgentDataDevice, bool)
- func (o *UserAgentData) GetEngine() UserAgentDataEngine
- func (o *UserAgentData) GetEngineOk() (*UserAgentDataEngine, bool)
- func (o *UserAgentData) GetName() string
- func (o *UserAgentData) GetNameOk() (*string, bool)
- func (o *UserAgentData) GetOperatingSystem() UserAgentDataOperatingSystem
- func (o *UserAgentData) GetOperatingSystemOk() (*UserAgentDataOperatingSystem, bool)
- func (o *UserAgentData) GetType() string
- func (o *UserAgentData) GetTypeOk() (*string, bool)
- func (o *UserAgentData) GetUserAgentString() string
- func (o *UserAgentData) GetUserAgentStringOk() (*string, bool)
- func (o *UserAgentData) GetVersion() string
- func (o *UserAgentData) GetVersionMajor() string
- func (o *UserAgentData) GetVersionMajorOk() (*string, bool)
- func (o *UserAgentData) GetVersionOk() (*string, bool)
- func (o *UserAgentData) HasDevice() bool
- func (o *UserAgentData) HasEngine() bool
- func (o *UserAgentData) HasName() bool
- func (o *UserAgentData) HasOperatingSystem() bool
- func (o *UserAgentData) HasType() bool
- func (o *UserAgentData) HasUserAgentString() bool
- func (o *UserAgentData) HasVersion() bool
- func (o *UserAgentData) HasVersionMajor() bool
- func (o UserAgentData) MarshalJSON() ([]byte, error)
- func (o *UserAgentData) SetDevice(v UserAgentDataDevice)
- func (o *UserAgentData) SetEngine(v UserAgentDataEngine)
- func (o *UserAgentData) SetName(v string)
- func (o *UserAgentData) SetOperatingSystem(v UserAgentDataOperatingSystem)
- func (o *UserAgentData) SetType(v string)
- func (o *UserAgentData) SetUserAgentString(v string)
- func (o *UserAgentData) SetVersion(v string)
- func (o *UserAgentData) SetVersionMajor(v string)
- func (o UserAgentData) ToMap() (map[string]interface{}, error)
- type UserAgentDataDevice
- func (o *UserAgentDataDevice) GetBrand() string
- func (o *UserAgentDataDevice) GetBrandOk() (*string, bool)
- func (o *UserAgentDataDevice) GetCpu() string
- func (o *UserAgentDataDevice) GetCpuOk() (*string, bool)
- func (o *UserAgentDataDevice) GetName() string
- func (o *UserAgentDataDevice) GetNameOk() (*string, bool)
- func (o *UserAgentDataDevice) GetType() string
- func (o *UserAgentDataDevice) GetTypeOk() (*string, bool)
- func (o *UserAgentDataDevice) HasBrand() bool
- func (o *UserAgentDataDevice) HasCpu() bool
- func (o *UserAgentDataDevice) HasName() bool
- func (o *UserAgentDataDevice) HasType() bool
- func (o UserAgentDataDevice) MarshalJSON() ([]byte, error)
- func (o *UserAgentDataDevice) SetBrand(v string)
- func (o *UserAgentDataDevice) SetCpu(v string)
- func (o *UserAgentDataDevice) SetName(v string)
- func (o *UserAgentDataDevice) SetType(v string)
- func (o UserAgentDataDevice) ToMap() (map[string]interface{}, error)
- type UserAgentDataEngine
- func (o *UserAgentDataEngine) GetName() string
- func (o *UserAgentDataEngine) GetNameOk() (*string, bool)
- func (o *UserAgentDataEngine) GetType() string
- func (o *UserAgentDataEngine) GetTypeOk() (*string, bool)
- func (o *UserAgentDataEngine) GetVersion() string
- func (o *UserAgentDataEngine) GetVersionMajor() string
- func (o *UserAgentDataEngine) GetVersionMajorOk() (*string, bool)
- func (o *UserAgentDataEngine) GetVersionOk() (*string, bool)
- func (o *UserAgentDataEngine) HasName() bool
- func (o *UserAgentDataEngine) HasType() bool
- func (o *UserAgentDataEngine) HasVersion() bool
- func (o *UserAgentDataEngine) HasVersionMajor() bool
- func (o UserAgentDataEngine) MarshalJSON() ([]byte, error)
- func (o *UserAgentDataEngine) SetName(v string)
- func (o *UserAgentDataEngine) SetType(v string)
- func (o *UserAgentDataEngine) SetVersion(v string)
- func (o *UserAgentDataEngine) SetVersionMajor(v string)
- func (o UserAgentDataEngine) ToMap() (map[string]interface{}, error)
- type UserAgentDataOperatingSystem
- func (o *UserAgentDataOperatingSystem) GetBuild() string
- func (o *UserAgentDataOperatingSystem) GetBuildOk() (*string, bool)
- func (o *UserAgentDataOperatingSystem) GetName() string
- func (o *UserAgentDataOperatingSystem) GetNameOk() (*string, bool)
- func (o *UserAgentDataOperatingSystem) GetType() string
- func (o *UserAgentDataOperatingSystem) GetTypeOk() (*string, bool)
- func (o *UserAgentDataOperatingSystem) GetVersion() string
- func (o *UserAgentDataOperatingSystem) GetVersionMajor() string
- func (o *UserAgentDataOperatingSystem) GetVersionMajorOk() (*string, bool)
- func (o *UserAgentDataOperatingSystem) GetVersionOk() (*string, bool)
- func (o *UserAgentDataOperatingSystem) HasBuild() bool
- func (o *UserAgentDataOperatingSystem) HasName() bool
- func (o *UserAgentDataOperatingSystem) HasType() bool
- func (o *UserAgentDataOperatingSystem) HasVersion() bool
- func (o *UserAgentDataOperatingSystem) HasVersionMajor() bool
- func (o UserAgentDataOperatingSystem) MarshalJSON() ([]byte, error)
- func (o *UserAgentDataOperatingSystem) SetBuild(v string)
- func (o *UserAgentDataOperatingSystem) SetName(v string)
- func (o *UserAgentDataOperatingSystem) SetType(v string)
- func (o *UserAgentDataOperatingSystem) SetVersion(v string)
- func (o *UserAgentDataOperatingSystem) SetVersionMajor(v string)
- func (o UserAgentDataOperatingSystem) ToMap() (map[string]interface{}, error)
- type UserAgentXMLData
- func (o *UserAgentXMLData) GetDevice() UserAgentDataDevice
- func (o *UserAgentXMLData) GetDeviceOk() (*UserAgentDataDevice, bool)
- func (o *UserAgentXMLData) GetEngine() UserAgentDataEngine
- func (o *UserAgentXMLData) GetEngineOk() (*UserAgentDataEngine, bool)
- func (o *UserAgentXMLData) GetName() string
- func (o *UserAgentXMLData) GetNameOk() (*string, bool)
- func (o *UserAgentXMLData) GetOperatingSystem() UserAgentDataOperatingSystem
- func (o *UserAgentXMLData) GetOperatingSystemOk() (*UserAgentDataOperatingSystem, bool)
- func (o *UserAgentXMLData) GetType() string
- func (o *UserAgentXMLData) GetTypeOk() (*string, bool)
- func (o *UserAgentXMLData) GetUserAgentString() string
- func (o *UserAgentXMLData) GetUserAgentStringOk() (*string, bool)
- func (o *UserAgentXMLData) GetVersion() string
- func (o *UserAgentXMLData) GetVersionMajor() string
- func (o *UserAgentXMLData) GetVersionMajorOk() (*string, bool)
- func (o *UserAgentXMLData) GetVersionOk() (*string, bool)
- func (o *UserAgentXMLData) HasDevice() bool
- func (o *UserAgentXMLData) HasEngine() bool
- func (o *UserAgentXMLData) HasName() bool
- func (o *UserAgentXMLData) HasOperatingSystem() bool
- func (o *UserAgentXMLData) HasType() bool
- func (o *UserAgentXMLData) HasUserAgentString() bool
- func (o *UserAgentXMLData) HasVersion() bool
- func (o *UserAgentXMLData) HasVersionMajor() bool
- func (o UserAgentXMLData) MarshalJSON() ([]byte, error)
- func (o *UserAgentXMLData) SetDevice(v UserAgentDataDevice)
- func (o *UserAgentXMLData) SetEngine(v UserAgentDataEngine)
- func (o *UserAgentXMLData) SetName(v string)
- func (o *UserAgentXMLData) SetOperatingSystem(v UserAgentDataOperatingSystem)
- func (o *UserAgentXMLData) SetType(v string)
- func (o *UserAgentXMLData) SetUserAgentString(v string)
- func (o *UserAgentXMLData) SetVersion(v string)
- func (o *UserAgentXMLData) SetVersionMajor(v string)
- func (o UserAgentXMLData) ToMap() (map[string]interface{}, error)
- type UserAgentXMLDataArray
- func (o *UserAgentXMLDataArray) GetDevice() UserAgentDataDevice
- func (o *UserAgentXMLDataArray) GetDeviceOk() (*UserAgentDataDevice, bool)
- func (o *UserAgentXMLDataArray) GetEngine() UserAgentDataEngine
- func (o *UserAgentXMLDataArray) GetEngineOk() (*UserAgentDataEngine, bool)
- func (o *UserAgentXMLDataArray) GetName() string
- func (o *UserAgentXMLDataArray) GetNameOk() (*string, bool)
- func (o *UserAgentXMLDataArray) GetOperatingSystem() UserAgentDataOperatingSystem
- func (o *UserAgentXMLDataArray) GetOperatingSystemOk() (*UserAgentDataOperatingSystem, bool)
- func (o *UserAgentXMLDataArray) GetType() string
- func (o *UserAgentXMLDataArray) GetTypeOk() (*string, bool)
- func (o *UserAgentXMLDataArray) GetUserAgentString() string
- func (o *UserAgentXMLDataArray) GetUserAgentStringOk() (*string, bool)
- func (o *UserAgentXMLDataArray) GetVersion() string
- func (o *UserAgentXMLDataArray) GetVersionMajor() string
- func (o *UserAgentXMLDataArray) GetVersionMajorOk() (*string, bool)
- func (o *UserAgentXMLDataArray) GetVersionOk() (*string, bool)
- func (o *UserAgentXMLDataArray) HasDevice() bool
- func (o *UserAgentXMLDataArray) HasEngine() bool
- func (o *UserAgentXMLDataArray) HasName() bool
- func (o *UserAgentXMLDataArray) HasOperatingSystem() bool
- func (o *UserAgentXMLDataArray) HasType() bool
- func (o *UserAgentXMLDataArray) HasUserAgentString() bool
- func (o *UserAgentXMLDataArray) HasVersion() bool
- func (o *UserAgentXMLDataArray) HasVersionMajor() bool
- func (o UserAgentXMLDataArray) MarshalJSON() ([]byte, error)
- func (o *UserAgentXMLDataArray) SetDevice(v UserAgentDataDevice)
- func (o *UserAgentXMLDataArray) SetEngine(v UserAgentDataEngine)
- func (o *UserAgentXMLDataArray) SetName(v string)
- func (o *UserAgentXMLDataArray) SetOperatingSystem(v UserAgentDataOperatingSystem)
- func (o *UserAgentXMLDataArray) SetType(v string)
- func (o *UserAgentXMLDataArray) SetUserAgentString(v string)
- func (o *UserAgentXMLDataArray) SetVersion(v string)
- func (o *UserAgentXMLDataArray) SetVersionMajor(v string)
- func (o UserAgentXMLDataArray) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
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 ¶
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 ¶
func (a *ASNLookupAPIService) GetAsnInfo(ctx context.Context) ApiGetAsnInfoRequest
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 ¶
func (a *ASNLookupAPIService) GetAsnInfoExecute(r ApiGetAsnInfoRequest) (*ASNResponse, *http.Response, error)
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 ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Abuse) GetAddressOk ¶
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 ¶
GetCountry returns the Country field value if set, zero value otherwise.
func (*Abuse) GetCountryOk ¶
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) GetEmailsOk ¶
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) GetHandleOk ¶
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) GetKindOk ¶
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) GetNameOk ¶
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 ¶
GetOrganization returns the Organization field value if set, zero value otherwise.
func (*Abuse) GetOrganizationOk ¶
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 ¶
GetPhoneNumbers returns the PhoneNumbers field value if set, zero value otherwise.
func (*Abuse) GetPhoneNumbersOk ¶
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) GetRoleOk ¶
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) GetRouteOk ¶
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 ¶
HasAddress returns a boolean if a field has been set.
func (*Abuse) HasCountry ¶
HasCountry returns a boolean if a field has been set.
func (*Abuse) HasOrganization ¶
HasOrganization returns a boolean if a field has been set.
func (*Abuse) HasPhoneNumbers ¶
HasPhoneNumbers returns a boolean if a field has been set.
func (Abuse) MarshalJSON ¶
func (*Abuse) SetAddress ¶
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*Abuse) SetCountry ¶
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*Abuse) SetEmails ¶
SetEmails gets a reference to the given []string and assigns it to the Emails field.
func (*Abuse) SetHandle ¶
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*Abuse) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Abuse) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Abuse) SetOrganization ¶
SetOrganization gets a reference to the given string and assigns it to the Organization field.
func (*Abuse) SetPhoneNumbers ¶
SetPhoneNumbers gets a reference to the given []string and assigns it to the PhoneNumbers field.
func (*Abuse) SetRole ¶
SetRole gets a reference to the given string and assigns it to the Role field.
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 ¶
func (a *AbuseContactAPIService) GetAbuseContactInfo(ctx context.Context) ApiGetAbuseContactInfoRequest
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 ¶
func (a *AbuseContactAPIService) GetAbuseContactInfoExecute(r ApiGetAbuseContactInfoRequest) (*AbuseResponse, *http.Response, error)
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 (r ApiConvertTimeBetweenTimezonesRequest) Execute() (*TimeConversionResponse, *http.Response, error)
func (ApiConvertTimeBetweenTimezonesRequest) IataFrom ¶
func (r ApiConvertTimeBetweenTimezonesRequest) IataFrom(iataFrom string) ApiConvertTimeBetweenTimezonesRequest
location to convert from
func (ApiConvertTimeBetweenTimezonesRequest) IataTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) IataTo(iataTo string) ApiConvertTimeBetweenTimezonesRequest
location to convert to
func (ApiConvertTimeBetweenTimezonesRequest) IcaoFrom ¶
func (r ApiConvertTimeBetweenTimezonesRequest) IcaoFrom(icaoFrom string) ApiConvertTimeBetweenTimezonesRequest
location to convert from
func (ApiConvertTimeBetweenTimezonesRequest) IcaoTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) IcaoTo(icaoTo string) ApiConvertTimeBetweenTimezonesRequest
location to convert to
func (ApiConvertTimeBetweenTimezonesRequest) LatFrom ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LatFrom(latFrom float32) ApiConvertTimeBetweenTimezonesRequest
latitude to convert from
func (ApiConvertTimeBetweenTimezonesRequest) LatTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LatTo(latTo float32) ApiConvertTimeBetweenTimezonesRequest
latitude to convert to
func (ApiConvertTimeBetweenTimezonesRequest) LocationFrom ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LocationFrom(locationFrom string) ApiConvertTimeBetweenTimezonesRequest
location to convert from
func (ApiConvertTimeBetweenTimezonesRequest) LocationTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LocationTo(locationTo string) ApiConvertTimeBetweenTimezonesRequest
location to convert to
func (ApiConvertTimeBetweenTimezonesRequest) LocodeFrom ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LocodeFrom(locodeFrom string) ApiConvertTimeBetweenTimezonesRequest
location to convert from
func (ApiConvertTimeBetweenTimezonesRequest) LocodeTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LocodeTo(locodeTo string) ApiConvertTimeBetweenTimezonesRequest
location to convert to
func (ApiConvertTimeBetweenTimezonesRequest) LongFrom ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LongFrom(longFrom float32) ApiConvertTimeBetweenTimezonesRequest
longitude to convert from
func (ApiConvertTimeBetweenTimezonesRequest) LongTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) LongTo(longTo float32) ApiConvertTimeBetweenTimezonesRequest
longitude to convert to
func (ApiConvertTimeBetweenTimezonesRequest) Time ¶
func (r ApiConvertTimeBetweenTimezonesRequest) Time(time string) ApiConvertTimeBetweenTimezonesRequest
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 ¶
func (r ApiConvertTimeBetweenTimezonesRequest) TzFrom(tzFrom string) ApiConvertTimeBetweenTimezonesRequest
timezone to convert from
func (ApiConvertTimeBetweenTimezonesRequest) TzTo ¶
func (r ApiConvertTimeBetweenTimezonesRequest) TzTo(tzTo string) ApiConvertTimeBetweenTimezonesRequest
timezone to convert to
type ApiGetAbuseContactInfoRequest ¶
type ApiGetAbuseContactInfoRequest struct { ApiService AbuseContactAPI // contains filtered or unexported fields }
func (ApiGetAbuseContactInfoRequest) Excludes ¶
func (r ApiGetAbuseContactInfoRequest) Excludes(excludes string) ApiGetAbuseContactInfoRequest
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 (r ApiGetAbuseContactInfoRequest) Execute() (*AbuseResponse, *http.Response, error)
func (ApiGetAbuseContactInfoRequest) Fields ¶
func (r ApiGetAbuseContactInfoRequest) Fields(fields string) ApiGetAbuseContactInfoRequest
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 ¶
func (r ApiGetAbuseContactInfoRequest) Ip(ip string) ApiGetAbuseContactInfoRequest
query parameter 'ip'.
type ApiGetAsnInfoRequest ¶
type ApiGetAsnInfoRequest struct { ApiService ASNLookupAPI // contains filtered or unexported fields }
func (ApiGetAsnInfoRequest) Asn ¶
func (r ApiGetAsnInfoRequest) Asn(asn int32) ApiGetAsnInfoRequest
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 (r ApiGetAsnInfoRequest) Execute() (*ASNResponse, *http.Response, error)
func (ApiGetAsnInfoRequest) Fields ¶
func (r ApiGetAsnInfoRequest) Fields(fields string) ApiGetAsnInfoRequest
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 ¶
func (r ApiGetAsnInfoRequest) Include(include string) ApiGetAsnInfoRequest
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 ¶
func (r ApiGetAsnInfoRequest) Ip(ip string) ApiGetAsnInfoRequest
query parameter 'ip'.
type ApiGetAstronomyDetailsRequest ¶
type ApiGetAstronomyDetailsRequest struct { ApiService AstronomyAPI // contains filtered or unexported fields }
func (ApiGetAstronomyDetailsRequest) Date ¶
func (r ApiGetAstronomyDetailsRequest) Date(date string) ApiGetAstronomyDetailsRequest
The date (YYYY-MM-DD) to lookup for. default will be the current date
func (ApiGetAstronomyDetailsRequest) Elevation ¶
func (r ApiGetAstronomyDetailsRequest) Elevation(elevation float64) ApiGetAstronomyDetailsRequest
query parameter 'elevation'
func (ApiGetAstronomyDetailsRequest) Execute ¶
func (r ApiGetAstronomyDetailsRequest) Execute() (*AstronomyResponse, *http.Response, error)
func (ApiGetAstronomyDetailsRequest) Ip ¶
func (r ApiGetAstronomyDetailsRequest) Ip(ip string) ApiGetAstronomyDetailsRequest
query paramter 'ip'. If not provided, will be your network IP
func (ApiGetAstronomyDetailsRequest) Lang ¶
func (r ApiGetAstronomyDetailsRequest) Lang(lang string) ApiGetAstronomyDetailsRequest
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 ¶
func (r ApiGetAstronomyDetailsRequest) Lat(lat string) ApiGetAstronomyDetailsRequest
query paramter 'lat'.
func (ApiGetAstronomyDetailsRequest) Location ¶
func (r ApiGetAstronomyDetailsRequest) Location(location string) ApiGetAstronomyDetailsRequest
query paramter 'location'. If not provided, will be your ip location
func (ApiGetAstronomyDetailsRequest) Long ¶
func (r ApiGetAstronomyDetailsRequest) Long(long string) ApiGetAstronomyDetailsRequest
query paramter 'long'.
func (ApiGetAstronomyDetailsRequest) Output ¶
func (r ApiGetAstronomyDetailsRequest) Output(output string) ApiGetAstronomyDetailsRequest
Desired output format.
func (ApiGetAstronomyDetailsRequest) TimeZone ¶
func (r ApiGetAstronomyDetailsRequest) TimeZone(timeZone string) ApiGetAstronomyDetailsRequest
type ApiGetBulkIpGeolocationRequest ¶
type ApiGetBulkIpGeolocationRequest struct { ApiService IPGeolocationAPI // contains filtered or unexported fields }
func (ApiGetBulkIpGeolocationRequest) Excludes ¶
func (r ApiGetBulkIpGeolocationRequest) Excludes(excludes string) ApiGetBulkIpGeolocationRequest
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 (r ApiGetBulkIpGeolocationRequest) Execute() ([]BulkIPGeolocation, *http.Response, error)
func (ApiGetBulkIpGeolocationRequest) Fields ¶
func (r ApiGetBulkIpGeolocationRequest) Fields(fields string) ApiGetBulkIpGeolocationRequest
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 ¶
func (r ApiGetBulkIpGeolocationRequest) Include(include string) ApiGetBulkIpGeolocationRequest
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 (r ApiGetBulkIpGeolocationRequest) Ips(ips []string) ApiGetBulkIpGeolocationRequest
func (ApiGetBulkIpGeolocationRequest) Lang ¶
func (r ApiGetBulkIpGeolocationRequest) Lang(lang string) ApiGetBulkIpGeolocationRequest
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 ¶
func (r ApiGetBulkIpGeolocationRequest) Output(output string) ApiGetBulkIpGeolocationRequest
Desired output format(json or xml).
type ApiGetBulkIpSecurityInfoRequest ¶
type ApiGetBulkIpSecurityInfoRequest struct { ApiService IPSecurityAPI // contains filtered or unexported fields }
func (ApiGetBulkIpSecurityInfoRequest) Excludes ¶
func (r ApiGetBulkIpSecurityInfoRequest) Excludes(excludes string) ApiGetBulkIpSecurityInfoRequest
Exclude specific fields, objects from the response.
func (ApiGetBulkIpSecurityInfoRequest) Execute ¶
func (r ApiGetBulkIpSecurityInfoRequest) Execute() ([]BulkIpSecurity, *http.Response, error)
func (ApiGetBulkIpSecurityInfoRequest) Fields ¶
func (r ApiGetBulkIpSecurityInfoRequest) Fields(fields string) ApiGetBulkIpSecurityInfoRequest
Get specific fields, objects from the response.
func (ApiGetBulkIpSecurityInfoRequest) Include ¶
func (r ApiGetBulkIpSecurityInfoRequest) Include(include string) ApiGetBulkIpSecurityInfoRequest
Include optional objects like `location`, `network`. Use comma-separated values. Example: include=location,network
func (ApiGetBulkIpSecurityInfoRequest) Ips ¶
func (r ApiGetBulkIpSecurityInfoRequest) Ips(ips []string) ApiGetBulkIpSecurityInfoRequest
func (ApiGetBulkIpSecurityInfoRequest) Lang ¶
func (r ApiGetBulkIpSecurityInfoRequest) Lang(lang string) ApiGetBulkIpSecurityInfoRequest
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 ¶
func (r ApiGetBulkIpSecurityInfoRequest) Output(output string) ApiGetBulkIpSecurityInfoRequest
Desired output format.
type ApiGetIpGeolocationRequest ¶
type ApiGetIpGeolocationRequest struct { ApiService IPGeolocationAPI // contains filtered or unexported fields }
func (ApiGetIpGeolocationRequest) Excludes ¶
func (r ApiGetIpGeolocationRequest) Excludes(excludes string) ApiGetIpGeolocationRequest
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 (r ApiGetIpGeolocationRequest) Execute() (*GeolocationResponse, *http.Response, error)
func (ApiGetIpGeolocationRequest) Fields ¶
func (r ApiGetIpGeolocationRequest) Fields(fields string) ApiGetIpGeolocationRequest
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 ¶
func (r ApiGetIpGeolocationRequest) Include(include string) ApiGetIpGeolocationRequest
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 ¶
func (r ApiGetIpGeolocationRequest) Ip(ip string) ApiGetIpGeolocationRequest
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 ¶
func (r ApiGetIpGeolocationRequest) Lang(lang string) ApiGetIpGeolocationRequest
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 ¶
func (r ApiGetIpGeolocationRequest) Output(output string) ApiGetIpGeolocationRequest
Desired output format (json or xml).
type ApiGetIpSecurityInfoRequest ¶
type ApiGetIpSecurityInfoRequest struct { ApiService IPSecurityAPI // contains filtered or unexported fields }
func (ApiGetIpSecurityInfoRequest) Excludes ¶
func (r ApiGetIpSecurityInfoRequest) Excludes(excludes string) ApiGetIpSecurityInfoRequest
Exclude specific fields, objects from the response.
func (ApiGetIpSecurityInfoRequest) Execute ¶
func (r ApiGetIpSecurityInfoRequest) Execute() (*SecurityAPIResponse, *http.Response, error)
func (ApiGetIpSecurityInfoRequest) Fields ¶
func (r ApiGetIpSecurityInfoRequest) Fields(fields string) ApiGetIpSecurityInfoRequest
Get specific fields, objects from the response.
func (ApiGetIpSecurityInfoRequest) Include ¶
func (r ApiGetIpSecurityInfoRequest) Include(include string) ApiGetIpSecurityInfoRequest
Include optional details like location and/or network.
func (ApiGetIpSecurityInfoRequest) Ip ¶
func (r ApiGetIpSecurityInfoRequest) Ip(ip string) ApiGetIpSecurityInfoRequest
query parameter 'ip'. If not provided, will be your network IP
func (ApiGetIpSecurityInfoRequest) Lang ¶
func (r ApiGetIpSecurityInfoRequest) Lang(lang string) ApiGetIpSecurityInfoRequest
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 ¶
func (r ApiGetIpSecurityInfoRequest) Output(output string) ApiGetIpSecurityInfoRequest
Desired output format (json or xml).
type ApiGetTimezoneInfoRequest ¶
type ApiGetTimezoneInfoRequest struct { ApiService TimezoneAPI // contains filtered or unexported fields }
func (ApiGetTimezoneInfoRequest) Execute ¶
func (r ApiGetTimezoneInfoRequest) Execute() (*TimeZoneDetailedResponse, *http.Response, error)
func (ApiGetTimezoneInfoRequest) IataCode ¶
func (r ApiGetTimezoneInfoRequest) IataCode(iataCode string) ApiGetTimezoneInfoRequest
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 ¶
func (r ApiGetTimezoneInfoRequest) IcaoCode(icaoCode string) ApiGetTimezoneInfoRequest
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 ¶
func (r ApiGetTimezoneInfoRequest) Ip(ip string) ApiGetTimezoneInfoRequest
You can pass any IPv4 or IPv6 address as a query parameter ip to get the regional timezone information.
func (ApiGetTimezoneInfoRequest) Lang ¶
func (r ApiGetTimezoneInfoRequest) Lang(lang string) ApiGetTimezoneInfoRequest
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 ¶
func (r ApiGetTimezoneInfoRequest) Lat(lat float32) ApiGetTimezoneInfoRequest
pass the latitude of a location as query parameters to get the time zone information.
func (ApiGetTimezoneInfoRequest) LoCode ¶
func (r ApiGetTimezoneInfoRequest) LoCode(loCode string) ApiGetTimezoneInfoRequest
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 ¶
func (r ApiGetTimezoneInfoRequest) Location(location string) ApiGetTimezoneInfoRequest
pass any address of a location as the query parameter location to get the time zone information.
func (ApiGetTimezoneInfoRequest) Long ¶
func (r ApiGetTimezoneInfoRequest) Long(long float32) ApiGetTimezoneInfoRequest
pass the longitude of a location as query parameters to get the time zone information.
func (ApiGetTimezoneInfoRequest) Output ¶
func (r ApiGetTimezoneInfoRequest) Output(output string) ApiGetTimezoneInfoRequest
Desired output format (json or xml).
func (ApiGetTimezoneInfoRequest) Tz ¶
func (r ApiGetTimezoneInfoRequest) Tz(tz string) ApiGetTimezoneInfoRequest
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 (r ApiGetUserAgentDetailsRequest) Execute() (*UserAgentData, *http.Response, error)
func (ApiGetUserAgentDetailsRequest) Output ¶
func (r ApiGetUserAgentDetailsRequest) Output(output string) ApiGetUserAgentDetailsRequest
Desired output format (json or xml).
func (ApiGetUserAgentDetailsRequest) UserAgent ¶
func (r ApiGetUserAgentDetailsRequest) UserAgent(userAgent string) ApiGetUserAgentDetailsRequest
type ApiParseBulkUserAgentStringsRequest ¶
type ApiParseBulkUserAgentStringsRequest struct { ApiService UserAgentAPI // contains filtered or unexported fields }
func (ApiParseBulkUserAgentStringsRequest) Execute ¶
func (r ApiParseBulkUserAgentStringsRequest) Execute() ([]UserAgentData, *http.Response, error)
func (ApiParseBulkUserAgentStringsRequest) Output ¶
func (r ApiParseBulkUserAgentStringsRequest) Output(output string) ApiParseBulkUserAgentStringsRequest
Desired output format (json or xml).
func (ApiParseBulkUserAgentStringsRequest) UserAgents ¶
func (r ApiParseBulkUserAgentStringsRequest) UserAgents(userAgents []string) ApiParseBulkUserAgentStringsRequest
type ApiParseUserAgentStringRequest ¶
type ApiParseUserAgentStringRequest struct { ApiService UserAgentAPI // contains filtered or unexported fields }
func (ApiParseUserAgentStringRequest) Execute ¶
func (r ApiParseUserAgentStringRequest) Execute() (*UserAgentData, *http.Response, error)
func (ApiParseUserAgentStringRequest) Output ¶
func (r ApiParseUserAgentStringRequest) Output(output string) ApiParseUserAgentStringRequest
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 ¶
GetCurrentTime returns the CurrentTime field value if set, zero value otherwise.
func (*Astronomy) GetCurrentTimeOk ¶
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) GetDateOk ¶
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 ¶
GetDayLength returns the DayLength field value if set, zero value otherwise.
func (*Astronomy) GetDayLengthOk ¶
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 ¶
GetMidNight returns the MidNight field value if set, zero value otherwise.
func (*Astronomy) GetMidNightOk ¶
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 ¶
GetMoonAltitude returns the MoonAltitude field value if set, zero value otherwise.
func (*Astronomy) GetMoonAltitudeOk ¶
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 ¶
GetMoonAngle returns the MoonAngle field value if set, zero value otherwise.
func (*Astronomy) GetMoonAngleOk ¶
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 ¶
GetMoonAzimuth returns the MoonAzimuth field value if set, zero value otherwise.
func (*Astronomy) GetMoonAzimuthOk ¶
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 ¶
GetMoonDistance returns the MoonDistance field value if set, zero value otherwise.
func (*Astronomy) GetMoonDistanceOk ¶
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 ¶
GetMoonIlluminationPercentage returns the MoonIlluminationPercentage field value if set, zero value otherwise.
func (*Astronomy) GetMoonIlluminationPercentageOk ¶
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 ¶
GetMoonParallacticAngle returns the MoonParallacticAngle field value if set, zero value otherwise.
func (*Astronomy) GetMoonParallacticAngleOk ¶
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 ¶
GetMoonPhase returns the MoonPhase field value if set, zero value otherwise.
func (*Astronomy) GetMoonPhaseOk ¶
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 ¶
GetMoonStatus returns the MoonStatus field value if set, zero value otherwise.
func (*Astronomy) GetMoonStatusOk ¶
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 ¶
GetMoonrise returns the Moonrise field value if set, zero value otherwise.
func (*Astronomy) GetMoonriseOk ¶
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 ¶
GetMoonset returns the Moonset field value if set, zero value otherwise.
func (*Astronomy) GetMoonsetOk ¶
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 ¶
GetNightBegin returns the NightBegin field value if set, zero value otherwise.
func (*Astronomy) GetNightBeginOk ¶
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 ¶
GetNightEnd returns the NightEnd field value if set, zero value otherwise.
func (*Astronomy) GetNightEndOk ¶
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 ¶
GetSolarNoon returns the SolarNoon field value if set, zero value otherwise.
func (*Astronomy) GetSolarNoonOk ¶
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 ¶
GetSunAltitude returns the SunAltitude field value if set, zero value otherwise.
func (*Astronomy) GetSunAltitudeOk ¶
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 ¶
GetSunAzimuth returns the SunAzimuth field value if set, zero value otherwise.
func (*Astronomy) GetSunAzimuthOk ¶
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 ¶
GetSunDistance returns the SunDistance field value if set, zero value otherwise.
func (*Astronomy) GetSunDistanceOk ¶
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 ¶
GetSunStatus returns the SunStatus field value if set, zero value otherwise.
func (*Astronomy) GetSunStatusOk ¶
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 ¶
GetSunrise returns the Sunrise field value if set, zero value otherwise.
func (*Astronomy) GetSunriseOk ¶
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 ¶
GetSunset returns the Sunset field value if set, zero value otherwise.
func (*Astronomy) GetSunsetOk ¶
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 ¶
GetTimeZone returns the TimeZone field value if set, zero value otherwise.
func (*Astronomy) GetTimeZoneOk ¶
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 ¶
HasCurrentTime returns a boolean if a field has been set.
func (*Astronomy) HasDayLength ¶
HasDayLength returns a boolean if a field has been set.
func (*Astronomy) HasEvening ¶
HasEvening returns a boolean if a field has been set.
func (*Astronomy) HasMidNight ¶
HasMidNight returns a boolean if a field has been set.
func (*Astronomy) HasMoonAltitude ¶
HasMoonAltitude returns a boolean if a field has been set.
func (*Astronomy) HasMoonAngle ¶
HasMoonAngle returns a boolean if a field has been set.
func (*Astronomy) HasMoonAzimuth ¶
HasMoonAzimuth returns a boolean if a field has been set.
func (*Astronomy) HasMoonDistance ¶
HasMoonDistance returns a boolean if a field has been set.
func (*Astronomy) HasMoonIlluminationPercentage ¶
HasMoonIlluminationPercentage returns a boolean if a field has been set.
func (*Astronomy) HasMoonParallacticAngle ¶
HasMoonParallacticAngle returns a boolean if a field has been set.
func (*Astronomy) HasMoonPhase ¶
HasMoonPhase returns a boolean if a field has been set.
func (*Astronomy) HasMoonStatus ¶
HasMoonStatus returns a boolean if a field has been set.
func (*Astronomy) HasMoonrise ¶
HasMoonrise returns a boolean if a field has been set.
func (*Astronomy) HasMoonset ¶
HasMoonset returns a boolean if a field has been set.
func (*Astronomy) HasMorning ¶
HasMorning returns a boolean if a field has been set.
func (*Astronomy) HasNightBegin ¶
HasNightBegin returns a boolean if a field has been set.
func (*Astronomy) HasNightEnd ¶
HasNightEnd returns a boolean if a field has been set.
func (*Astronomy) HasSolarNoon ¶
HasSolarNoon returns a boolean if a field has been set.
func (*Astronomy) HasSunAltitude ¶
HasSunAltitude returns a boolean if a field has been set.
func (*Astronomy) HasSunAzimuth ¶
HasSunAzimuth returns a boolean if a field has been set.
func (*Astronomy) HasSunDistance ¶
HasSunDistance returns a boolean if a field has been set.
func (*Astronomy) HasSunStatus ¶
HasSunStatus returns a boolean if a field has been set.
func (*Astronomy) HasSunrise ¶
HasSunrise returns a boolean if a field has been set.
func (*Astronomy) HasTimeZone ¶
HasTimeZone returns a boolean if a field has been set.
func (Astronomy) MarshalJSON ¶
func (*Astronomy) SetCurrentTime ¶
SetCurrentTime gets a reference to the given string and assigns it to the CurrentTime field.
func (*Astronomy) SetDate ¶
SetDate gets a reference to the given string and assigns it to the Date field.
func (*Astronomy) SetDayLength ¶
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 ¶
SetMidNight gets a reference to the given string and assigns it to the MidNight field.
func (*Astronomy) SetMoonAltitude ¶
SetMoonAltitude gets a reference to the given float32 and assigns it to the MoonAltitude field.
func (*Astronomy) SetMoonAngle ¶
SetMoonAngle gets a reference to the given float32 and assigns it to the MoonAngle field.
func (*Astronomy) SetMoonAzimuth ¶
SetMoonAzimuth gets a reference to the given float32 and assigns it to the MoonAzimuth field.
func (*Astronomy) SetMoonDistance ¶
SetMoonDistance gets a reference to the given float32 and assigns it to the MoonDistance field.
func (*Astronomy) SetMoonIlluminationPercentage ¶
SetMoonIlluminationPercentage gets a reference to the given string and assigns it to the MoonIlluminationPercentage field.
func (*Astronomy) SetMoonParallacticAngle ¶
SetMoonParallacticAngle gets a reference to the given float32 and assigns it to the MoonParallacticAngle field.
func (*Astronomy) SetMoonPhase ¶
SetMoonPhase gets a reference to the given string and assigns it to the MoonPhase field.
func (*Astronomy) SetMoonStatus ¶
SetMoonStatus gets a reference to the given string and assigns it to the MoonStatus field.
func (*Astronomy) SetMoonrise ¶
SetMoonrise gets a reference to the given string and assigns it to the Moonrise field.
func (*Astronomy) SetMoonset ¶
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 ¶
SetNightBegin gets a reference to the given string and assigns it to the NightBegin field.
func (*Astronomy) SetNightEnd ¶
SetNightEnd gets a reference to the given string and assigns it to the NightEnd field.
func (*Astronomy) SetSolarNoon ¶
SetSolarNoon gets a reference to the given string and assigns it to the SolarNoon field.
func (*Astronomy) SetSunAltitude ¶
SetSunAltitude gets a reference to the given float32 and assigns it to the SunAltitude field.
func (*Astronomy) SetSunAzimuth ¶
SetSunAzimuth gets a reference to the given float32 and assigns it to the SunAzimuth field.
func (*Astronomy) SetSunDistance ¶
SetSunDistance gets a reference to the given float32 and assigns it to the SunDistance field.
func (*Astronomy) SetSunStatus ¶
SetSunStatus gets a reference to the given string and assigns it to the SunStatus field.
func (*Astronomy) SetSunrise ¶
SetSunrise gets a reference to the given string and assigns it to the Sunrise field.
func (*Astronomy) SetSunset ¶
SetSunset gets a reference to the given string and assigns it to the Sunset field.
func (*Astronomy) SetTimeZone ¶
SetTimeZone gets a reference to the given string and assigns it to the TimeZone field.
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 ¶
func (a *AstronomyAPIService) GetAstronomyDetails(ctx context.Context) ApiGetAstronomyDetailsRequest
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 ¶
func (a *AstronomyAPIService) GetAstronomyDetailsExecute(r ApiGetAstronomyDetailsRequest) (*AstronomyResponse, *http.Response, error)
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 ¶
func (r *BulkIPGeolocation) AsResult() (*GeolocationResponse, *ErrorResponse)
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 WrapSecurity ¶
func WrapSecurity(sec *SecurityAPIResponse) BulkIpSecurity
Helper to wrap Success
func (*BulkIpSecurity) AsResult ¶
func (b *BulkIpSecurity) AsResult() (*SecurityAPIResponse, *ErrorResponse)
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) ServerURLWithContext ¶
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) GetCodeOk ¶
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) GetNameOk ¶
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) GetSymbolOk ¶
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) MarshalJSON ¶
func (*Currency) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Currency) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
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 ¶
func (o *GeolocationXMLResponseArray) GetIp() string
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 ¶
func (a *IPLocationAPIService) GetBulkIpGeolocation(ctx context.Context) ApiGetBulkIpGeolocationRequest
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 ¶
func (a *IPLocationAPIService) GetBulkIpGeolocationExecute(r ApiGetBulkIpGeolocationRequest) ([]BulkIPGeolocation, *http.Response, error)
Execute executes the request
@return []GetBulkIpGeolocation200ResponseInner
func (*IPLocationAPIService) GetIpGeolocation ¶
func (a *IPLocationAPIService) GetIpGeolocation(ctx context.Context) ApiGetIpGeolocationRequest
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 ¶
func (a *IPLocationAPIService) GetIpGeolocationExecute(r ApiGetIpGeolocationRequest) (*GeolocationResponse, *http.Response, error)
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 ¶
GetAccuracyRadius returns the AccuracyRadius field value if set, zero value otherwise.
func (*Location) GetAccuracyRadiusOk ¶
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) GetCityOk ¶
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 ¶
GetContinentCode returns the ContinentCode field value if set, zero value otherwise.
func (*Location) GetContinentCodeOk ¶
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 ¶
GetContinentName returns the ContinentName field value if set, zero value otherwise.
func (*Location) GetContinentNameOk ¶
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 ¶
GetCountryCapital returns the CountryCapital field value if set, zero value otherwise.
func (*Location) GetCountryCapitalOk ¶
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 ¶
GetCountryCode2 returns the CountryCode2 field value if set, zero value otherwise.
func (*Location) GetCountryCode2Ok ¶
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 ¶
GetCountryCode3 returns the CountryCode3 field value if set, zero value otherwise.
func (*Location) GetCountryCode3Ok ¶
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 ¶
GetCountryEmoji returns the CountryEmoji field value if set, zero value otherwise.
func (*Location) GetCountryEmojiOk ¶
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 ¶
GetCountryFlag returns the CountryFlag field value if set, zero value otherwise.
func (*Location) GetCountryFlagOk ¶
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 ¶
GetCountryName returns the CountryName field value if set, zero value otherwise.
func (*Location) GetCountryNameOfficial ¶
GetCountryNameOfficial returns the CountryNameOfficial field value if set, zero value otherwise.
func (*Location) GetCountryNameOfficialOk ¶
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 ¶
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 ¶
GetDistrict returns the District field value if set, zero value otherwise.
func (*Location) GetDistrictOk ¶
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 ¶
GetDmaCode returns the DmaCode field value if set, zero value otherwise.
func (*Location) GetDmaCodeOk ¶
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 ¶
GetGeonameId returns the GeonameId field value if set, zero value otherwise.
func (*Location) GetGeonameIdOk ¶
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) GetIsEuOk ¶
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 ¶
GetLatitude returns the Latitude field value if set, zero value otherwise.
func (*Location) GetLatitudeOk ¶
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 ¶
GetLocality returns the Locality field value if set, zero value otherwise.
func (*Location) GetLocalityOk ¶
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 ¶
GetLongitude returns the Longitude field value if set, zero value otherwise.
func (*Location) GetLongitudeOk ¶
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 ¶
GetStateCode returns the StateCode field value if set, zero value otherwise.
func (*Location) GetStateCodeOk ¶
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 ¶
GetStateProv returns the StateProv field value if set, zero value otherwise.
func (*Location) GetStateProvOk ¶
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 ¶
GetZipcode returns the Zipcode field value if set, zero value otherwise.
func (*Location) GetZipcodeOk ¶
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 ¶
HasAccuracyRadius returns a boolean if a field has been set.
func (*Location) HasContinentCode ¶
HasContinentCode returns a boolean if a field has been set.
func (*Location) HasContinentName ¶
HasContinentName returns a boolean if a field has been set.
func (*Location) HasCountryCapital ¶
HasCountryCapital returns a boolean if a field has been set.
func (*Location) HasCountryCode2 ¶
HasCountryCode2 returns a boolean if a field has been set.
func (*Location) HasCountryCode3 ¶
HasCountryCode3 returns a boolean if a field has been set.
func (*Location) HasCountryEmoji ¶
HasCountryEmoji returns a boolean if a field has been set.
func (*Location) HasCountryFlag ¶
HasCountryFlag returns a boolean if a field has been set.
func (*Location) HasCountryName ¶
HasCountryName returns a boolean if a field has been set.
func (*Location) HasCountryNameOfficial ¶
HasCountryNameOfficial returns a boolean if a field has been set.
func (*Location) HasDistrict ¶
HasDistrict returns a boolean if a field has been set.
func (*Location) HasDmaCode ¶
HasDmaCode returns a boolean if a field has been set.
func (*Location) HasGeonameId ¶
HasGeonameId returns a boolean if a field has been set.
func (*Location) HasLatitude ¶
HasLatitude returns a boolean if a field has been set.
func (*Location) HasLocality ¶
HasLocality returns a boolean if a field has been set.
func (*Location) HasLongitude ¶
HasLongitude returns a boolean if a field has been set.
func (*Location) HasStateCode ¶
HasStateCode returns a boolean if a field has been set.
func (*Location) HasStateProv ¶
HasStateProv returns a boolean if a field has been set.
func (*Location) HasZipcode ¶
HasZipcode returns a boolean if a field has been set.
func (Location) MarshalJSON ¶
func (*Location) SetAccuracyRadius ¶
SetAccuracyRadius gets a reference to the given string and assigns it to the AccuracyRadius field.
func (*Location) SetCity ¶
SetCity gets a reference to the given string and assigns it to the City field.
func (*Location) SetContinentCode ¶
SetContinentCode gets a reference to the given string and assigns it to the ContinentCode field.
func (*Location) SetContinentName ¶
SetContinentName gets a reference to the given string and assigns it to the ContinentName field.
func (*Location) SetCountryCapital ¶
SetCountryCapital gets a reference to the given string and assigns it to the CountryCapital field.
func (*Location) SetCountryCode2 ¶
SetCountryCode2 gets a reference to the given string and assigns it to the CountryCode2 field.
func (*Location) SetCountryCode3 ¶
SetCountryCode3 gets a reference to the given string and assigns it to the CountryCode3 field.
func (*Location) SetCountryEmoji ¶
SetCountryEmoji gets a reference to the given string and assigns it to the CountryEmoji field.
func (*Location) SetCountryFlag ¶
SetCountryFlag gets a reference to the given string and assigns it to the CountryFlag field.
func (*Location) SetCountryName ¶
SetCountryName gets a reference to the given string and assigns it to the CountryName field.
func (*Location) SetCountryNameOfficial ¶
SetCountryNameOfficial gets a reference to the given string and assigns it to the CountryNameOfficial field.
func (*Location) SetDistrict ¶
SetDistrict gets a reference to the given string and assigns it to the District field.
func (*Location) SetDmaCode ¶
SetDmaCode gets a reference to the given string and assigns it to the DmaCode field.
func (*Location) SetGeonameId ¶
SetGeonameId gets a reference to the given string and assigns it to the GeonameId field.
func (*Location) SetIsEu ¶
SetIsEu gets a reference to the given bool and assigns it to the IsEu field.
func (*Location) SetLatitude ¶
SetLatitude gets a reference to the given string and assigns it to the Latitude field.
func (*Location) SetLocality ¶
SetLocality gets a reference to the given string and assigns it to the Locality field.
func (*Location) SetLongitude ¶
SetLongitude gets a reference to the given string and assigns it to the Longitude field.
func (*Location) SetStateCode ¶
SetStateCode gets a reference to the given string and assigns it to the StateCode field.
func (*Location) SetStateProv ¶
SetStateProv gets a reference to the given string and assigns it to the StateProv field.
func (*Location) SetZipcode ¶
SetZipcode gets a reference to the given string and assigns it to the Zipcode field.
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 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 ¶
GetConnectionType returns the ConnectionType field value if set, zero value otherwise.
func (*Network) GetConnectionTypeOk ¶
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) HasCompany ¶
HasCompany returns a boolean if a field has been set.
func (*Network) HasConnectionType ¶
HasConnectionType returns a boolean if a field has been set.
func (Network) MarshalJSON ¶
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 ¶
SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.
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 (v NullableASNConnection) Get() *ASNConnection
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 (v NullableASNResponse) Get() *ASNResponse
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 (v NullableASNResponseXML) Get() *ASNResponseXML
func (NullableASNResponseXML) IsSet ¶
func (v NullableASNResponseXML) IsSet() bool
func (NullableASNResponseXML) MarshalJSON ¶
func (v NullableASNResponseXML) MarshalJSON() ([]byte, error)
func (*NullableASNResponseXML) Set ¶
func (v *NullableASNResponseXML) Set(val *ASNResponseXML)
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 (v NullableASNResponseXMLAsn) Get() *ASNResponseXMLAsn
func (NullableASNResponseXMLAsn) IsSet ¶
func (v NullableASNResponseXMLAsn) IsSet() bool
func (NullableASNResponseXMLAsn) MarshalJSON ¶
func (v NullableASNResponseXMLAsn) MarshalJSON() ([]byte, error)
func (*NullableASNResponseXMLAsn) Set ¶
func (v *NullableASNResponseXMLAsn) Set(val *ASNResponseXMLAsn)
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 (v NullableAbuseResponse) Get() *AbuseResponse
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 (v NullableAbuseResponseXML) Get() *AbuseResponseXML
func (NullableAbuseResponseXML) IsSet ¶
func (v NullableAbuseResponseXML) IsSet() bool
func (NullableAbuseResponseXML) MarshalJSON ¶
func (v NullableAbuseResponseXML) MarshalJSON() ([]byte, error)
func (*NullableAbuseResponseXML) Set ¶
func (v *NullableAbuseResponseXML) Set(val *AbuseResponseXML)
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 (v NullableAstronomyEvening) Get() *AstronomyEvening
func (NullableAstronomyEvening) IsSet ¶
func (v NullableAstronomyEvening) IsSet() bool
func (NullableAstronomyEvening) MarshalJSON ¶
func (v NullableAstronomyEvening) MarshalJSON() ([]byte, error)
func (*NullableAstronomyEvening) Set ¶
func (v *NullableAstronomyEvening) Set(val *AstronomyEvening)
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 (v NullableAstronomyLocation) Get() *AstronomyLocation
func (NullableAstronomyLocation) IsSet ¶
func (v NullableAstronomyLocation) IsSet() bool
func (NullableAstronomyLocation) MarshalJSON ¶
func (v NullableAstronomyLocation) MarshalJSON() ([]byte, error)
func (*NullableAstronomyLocation) Set ¶
func (v *NullableAstronomyLocation) Set(val *AstronomyLocation)
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 (v NullableAstronomyMorning) Get() *AstronomyMorning
func (NullableAstronomyMorning) IsSet ¶
func (v NullableAstronomyMorning) IsSet() bool
func (NullableAstronomyMorning) MarshalJSON ¶
func (v NullableAstronomyMorning) MarshalJSON() ([]byte, error)
func (*NullableAstronomyMorning) Set ¶
func (v *NullableAstronomyMorning) Set(val *AstronomyMorning)
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 (v NullableAstronomyResponse) Get() *AstronomyResponse
func (NullableAstronomyResponse) IsSet ¶
func (v NullableAstronomyResponse) IsSet() bool
func (NullableAstronomyResponse) MarshalJSON ¶
func (v NullableAstronomyResponse) MarshalJSON() ([]byte, error)
func (*NullableAstronomyResponse) Set ¶
func (v *NullableAstronomyResponse) Set(val *AstronomyResponse)
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 (v NullableAstronomyXMLResponse) Get() *AstronomyXMLResponse
func (NullableAstronomyXMLResponse) IsSet ¶
func (v NullableAstronomyXMLResponse) IsSet() bool
func (NullableAstronomyXMLResponse) MarshalJSON ¶
func (v NullableAstronomyXMLResponse) MarshalJSON() ([]byte, error)
func (*NullableAstronomyXMLResponse) Set ¶
func (v *NullableAstronomyXMLResponse) Set(val *AstronomyXMLResponse)
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 (v NullableBulkIPGeolocation) Get() *BulkIPGeolocation
func (NullableBulkIPGeolocation) IsSet ¶
func (v NullableBulkIPGeolocation) IsSet() bool
func (NullableBulkIPGeolocation) MarshalJSON ¶
func (v NullableBulkIPGeolocation) MarshalJSON() ([]byte, error)
func (*NullableBulkIPGeolocation) Set ¶
func (v *NullableBulkIPGeolocation) Set(val *BulkIPGeolocation)
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 (v NullableCountryMetadata) Get() *CountryMetadata
func (NullableCountryMetadata) IsSet ¶
func (v NullableCountryMetadata) IsSet() bool
func (NullableCountryMetadata) MarshalJSON ¶
func (v NullableCountryMetadata) MarshalJSON() ([]byte, error)
func (*NullableCountryMetadata) Set ¶
func (v *NullableCountryMetadata) Set(val *CountryMetadata)
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 (v NullableErrorResponse) Get() *ErrorResponse
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 (v NullableErrorXMLResponse) Get() *ErrorXMLResponse
func (NullableErrorXMLResponse) IsSet ¶
func (v NullableErrorXMLResponse) IsSet() bool
func (NullableErrorXMLResponse) MarshalJSON ¶
func (v NullableErrorXMLResponse) MarshalJSON() ([]byte, error)
func (*NullableErrorXMLResponse) Set ¶
func (v *NullableErrorXMLResponse) Set(val *ErrorXMLResponse)
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 NewNullableErrorXMLResponseArray ¶
func NewNullableErrorXMLResponseArray(val *ErrorXMLResponseArray) *NullableErrorXMLResponseArray
func (NullableErrorXMLResponseArray) Get ¶
func (v NullableErrorXMLResponseArray) Get() *ErrorXMLResponseArray
func (NullableErrorXMLResponseArray) IsSet ¶
func (v NullableErrorXMLResponseArray) IsSet() bool
func (NullableErrorXMLResponseArray) MarshalJSON ¶
func (v NullableErrorXMLResponseArray) MarshalJSON() ([]byte, error)
func (*NullableErrorXMLResponseArray) Set ¶
func (v *NullableErrorXMLResponseArray) Set(val *ErrorXMLResponseArray)
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 (v NullableGeolocationResponse) Get() *GeolocationResponse
func (NullableGeolocationResponse) IsSet ¶
func (v NullableGeolocationResponse) IsSet() bool
func (NullableGeolocationResponse) MarshalJSON ¶
func (v NullableGeolocationResponse) MarshalJSON() ([]byte, error)
func (*NullableGeolocationResponse) Set ¶
func (v *NullableGeolocationResponse) Set(val *GeolocationResponse)
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 NewNullableGeolocationXMLResponse ¶
func NewNullableGeolocationXMLResponse(val *GeolocationXMLResponse) *NullableGeolocationXMLResponse
func (NullableGeolocationXMLResponse) Get ¶
func (v NullableGeolocationXMLResponse) Get() *GeolocationXMLResponse
func (NullableGeolocationXMLResponse) IsSet ¶
func (v NullableGeolocationXMLResponse) IsSet() bool
func (NullableGeolocationXMLResponse) MarshalJSON ¶
func (v NullableGeolocationXMLResponse) MarshalJSON() ([]byte, error)
func (*NullableGeolocationXMLResponse) Set ¶
func (v *NullableGeolocationXMLResponse) Set(val *GeolocationXMLResponse)
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 NewNullableGeolocationXMLResponseArray ¶
func NewNullableGeolocationXMLResponseArray(val *GeolocationXMLResponseArray) *NullableGeolocationXMLResponseArray
func (NullableGeolocationXMLResponseArray) Get ¶
func (v NullableGeolocationXMLResponseArray) Get() *GeolocationXMLResponseArray
func (NullableGeolocationXMLResponseArray) IsSet ¶
func (v NullableGeolocationXMLResponseArray) IsSet() bool
func (NullableGeolocationXMLResponseArray) MarshalJSON ¶
func (v NullableGeolocationXMLResponseArray) MarshalJSON() ([]byte, error)
func (*NullableGeolocationXMLResponseArray) Set ¶
func (v *NullableGeolocationXMLResponseArray) Set(val *GeolocationXMLResponseArray)
func (*NullableGeolocationXMLResponseArray) UnmarshalJSON ¶
func (v *NullableGeolocationXMLResponseArray) UnmarshalJSON(src []byte) error
func (*NullableGeolocationXMLResponseArray) Unset ¶
func (v *NullableGeolocationXMLResponseArray) Unset()
type NullableGetBulkIpGeolocation200ResponseInner1 ¶
type NullableGetBulkIpGeolocation200ResponseInner1 struct {
// contains filtered or unexported fields
}
func NewNullableGetBulkIpGeolocation200ResponseInner1 ¶
func NewNullableGetBulkIpGeolocation200ResponseInner1(val *GetBulkIpGeolocation200ResponseInner1) *NullableGetBulkIpGeolocation200ResponseInner1
func (NullableGetBulkIpGeolocation200ResponseInner1) IsSet ¶
func (v NullableGetBulkIpGeolocation200ResponseInner1) IsSet() bool
func (NullableGetBulkIpGeolocation200ResponseInner1) MarshalJSON ¶
func (v NullableGetBulkIpGeolocation200ResponseInner1) MarshalJSON() ([]byte, error)
func (*NullableGetBulkIpGeolocation200ResponseInner1) Set ¶
func (v *NullableGetBulkIpGeolocation200ResponseInner1) Set(val *GetBulkIpGeolocation200ResponseInner1)
func (*NullableGetBulkIpGeolocation200ResponseInner1) UnmarshalJSON ¶
func (v *NullableGetBulkIpGeolocation200ResponseInner1) UnmarshalJSON(src []byte) error
func (*NullableGetBulkIpGeolocation200ResponseInner1) Unset ¶
func (v *NullableGetBulkIpGeolocation200ResponseInner1) Unset()
type NullableGetBulkIpGeolocationRequest ¶
type NullableGetBulkIpGeolocationRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetBulkIpGeolocationRequest ¶
func NewNullableGetBulkIpGeolocationRequest(val *GetBulkIpGeolocationRequest) *NullableGetBulkIpGeolocationRequest
func (NullableGetBulkIpGeolocationRequest) Get ¶
func (v NullableGetBulkIpGeolocationRequest) Get() *GetBulkIpGeolocationRequest
func (NullableGetBulkIpGeolocationRequest) IsSet ¶
func (v NullableGetBulkIpGeolocationRequest) IsSet() bool
func (NullableGetBulkIpGeolocationRequest) MarshalJSON ¶
func (v NullableGetBulkIpGeolocationRequest) MarshalJSON() ([]byte, error)
func (*NullableGetBulkIpGeolocationRequest) Set ¶
func (v *NullableGetBulkIpGeolocationRequest) Set(val *GetBulkIpGeolocationRequest)
func (*NullableGetBulkIpGeolocationRequest) UnmarshalJSON ¶
func (v *NullableGetBulkIpGeolocationRequest) UnmarshalJSON(src []byte) error
func (*NullableGetBulkIpGeolocationRequest) Unset ¶
func (v *NullableGetBulkIpGeolocationRequest) Unset()
type NullableGetBulkIpSecurityInfo200ResponseInner1 ¶
type NullableGetBulkIpSecurityInfo200ResponseInner1 struct {
// contains filtered or unexported fields
}
func NewNullableGetBulkIpSecurityInfo200ResponseInner1 ¶
func NewNullableGetBulkIpSecurityInfo200ResponseInner1(val *GetBulkIpSecurityInfo200ResponseInner1) *NullableGetBulkIpSecurityInfo200ResponseInner1
func (NullableGetBulkIpSecurityInfo200ResponseInner1) IsSet ¶
func (v NullableGetBulkIpSecurityInfo200ResponseInner1) IsSet() bool
func (NullableGetBulkIpSecurityInfo200ResponseInner1) MarshalJSON ¶
func (v NullableGetBulkIpSecurityInfo200ResponseInner1) MarshalJSON() ([]byte, error)
func (*NullableGetBulkIpSecurityInfo200ResponseInner1) Set ¶
func (v *NullableGetBulkIpSecurityInfo200ResponseInner1) Set(val *GetBulkIpSecurityInfo200ResponseInner1)
func (*NullableGetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON ¶
func (v *NullableGetBulkIpSecurityInfo200ResponseInner1) UnmarshalJSON(src []byte) error
func (*NullableGetBulkIpSecurityInfo200ResponseInner1) Unset ¶
func (v *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 (v NullableLocationMinimal) Get() *LocationMinimal
func (NullableLocationMinimal) IsSet ¶
func (v NullableLocationMinimal) IsSet() bool
func (NullableLocationMinimal) MarshalJSON ¶
func (v NullableLocationMinimal) MarshalJSON() ([]byte, error)
func (*NullableLocationMinimal) Set ¶
func (v *NullableLocationMinimal) Set(val *LocationMinimal)
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 (v NullableNetworkCompany) Get() *NetworkCompany
func (NullableNetworkCompany) IsSet ¶
func (v NullableNetworkCompany) IsSet() bool
func (NullableNetworkCompany) MarshalJSON ¶
func (v NullableNetworkCompany) MarshalJSON() ([]byte, error)
func (*NullableNetworkCompany) Set ¶
func (v *NullableNetworkCompany) Set(val *NetworkCompany)
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 (v NullableNetworkMinimal) Get() *NetworkMinimal
func (NullableNetworkMinimal) IsSet ¶
func (v NullableNetworkMinimal) IsSet() bool
func (NullableNetworkMinimal) MarshalJSON ¶
func (v NullableNetworkMinimal) MarshalJSON() ([]byte, error)
func (*NullableNetworkMinimal) Set ¶
func (v *NullableNetworkMinimal) Set(val *NetworkMinimal)
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 (v NullableNetworkMinimalAsn) Get() *NetworkMinimalAsn
func (NullableNetworkMinimalAsn) IsSet ¶
func (v NullableNetworkMinimalAsn) IsSet() bool
func (NullableNetworkMinimalAsn) MarshalJSON ¶
func (v NullableNetworkMinimalAsn) MarshalJSON() ([]byte, error)
func (*NullableNetworkMinimalAsn) Set ¶
func (v *NullableNetworkMinimalAsn) Set(val *NetworkMinimalAsn)
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 NewNullableNetworkMinimalCompany ¶
func NewNullableNetworkMinimalCompany(val *NetworkMinimalCompany) *NullableNetworkMinimalCompany
func (NullableNetworkMinimalCompany) Get ¶
func (v NullableNetworkMinimalCompany) Get() *NetworkMinimalCompany
func (NullableNetworkMinimalCompany) IsSet ¶
func (v NullableNetworkMinimalCompany) IsSet() bool
func (NullableNetworkMinimalCompany) MarshalJSON ¶
func (v NullableNetworkMinimalCompany) MarshalJSON() ([]byte, error)
func (*NullableNetworkMinimalCompany) Set ¶
func (v *NullableNetworkMinimalCompany) Set(val *NetworkMinimalCompany)
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 NewNullableParseBulkUserAgentStringsRequest ¶
func NewNullableParseBulkUserAgentStringsRequest(val *ParseBulkUserAgentStringsRequest) *NullableParseBulkUserAgentStringsRequest
func (NullableParseBulkUserAgentStringsRequest) IsSet ¶
func (v NullableParseBulkUserAgentStringsRequest) IsSet() bool
func (NullableParseBulkUserAgentStringsRequest) MarshalJSON ¶
func (v NullableParseBulkUserAgentStringsRequest) MarshalJSON() ([]byte, error)
func (*NullableParseBulkUserAgentStringsRequest) Set ¶
func (v *NullableParseBulkUserAgentStringsRequest) Set(val *ParseBulkUserAgentStringsRequest)
func (*NullableParseBulkUserAgentStringsRequest) UnmarshalJSON ¶
func (v *NullableParseBulkUserAgentStringsRequest) UnmarshalJSON(src []byte) error
func (*NullableParseBulkUserAgentStringsRequest) Unset ¶
func (v *NullableParseBulkUserAgentStringsRequest) Unset()
type NullableParseUserAgentStringRequest ¶
type NullableParseUserAgentStringRequest struct {
// contains filtered or unexported fields
}
func NewNullableParseUserAgentStringRequest ¶
func NewNullableParseUserAgentStringRequest(val *ParseUserAgentStringRequest) *NullableParseUserAgentStringRequest
func (NullableParseUserAgentStringRequest) Get ¶
func (v NullableParseUserAgentStringRequest) Get() *ParseUserAgentStringRequest
func (NullableParseUserAgentStringRequest) IsSet ¶
func (v NullableParseUserAgentStringRequest) IsSet() bool
func (NullableParseUserAgentStringRequest) MarshalJSON ¶
func (v NullableParseUserAgentStringRequest) MarshalJSON() ([]byte, error)
func (*NullableParseUserAgentStringRequest) Set ¶
func (v *NullableParseUserAgentStringRequest) Set(val *ParseUserAgentStringRequest)
func (*NullableParseUserAgentStringRequest) UnmarshalJSON ¶
func (v *NullableParseUserAgentStringRequest) UnmarshalJSON(src []byte) error
func (*NullableParseUserAgentStringRequest) Unset ¶
func (v *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 (v NullableSecurityAPIResponse) Get() *SecurityAPIResponse
func (NullableSecurityAPIResponse) IsSet ¶
func (v NullableSecurityAPIResponse) IsSet() bool
func (NullableSecurityAPIResponse) MarshalJSON ¶
func (v NullableSecurityAPIResponse) MarshalJSON() ([]byte, error)
func (*NullableSecurityAPIResponse) Set ¶
func (v *NullableSecurityAPIResponse) Set(val *SecurityAPIResponse)
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 NewNullableSecurityAPIXMLResponse ¶
func NewNullableSecurityAPIXMLResponse(val *SecurityAPIXMLResponse) *NullableSecurityAPIXMLResponse
func (NullableSecurityAPIXMLResponse) Get ¶
func (v NullableSecurityAPIXMLResponse) Get() *SecurityAPIXMLResponse
func (NullableSecurityAPIXMLResponse) IsSet ¶
func (v NullableSecurityAPIXMLResponse) IsSet() bool
func (NullableSecurityAPIXMLResponse) MarshalJSON ¶
func (v NullableSecurityAPIXMLResponse) MarshalJSON() ([]byte, error)
func (*NullableSecurityAPIXMLResponse) Set ¶
func (v *NullableSecurityAPIXMLResponse) Set(val *SecurityAPIXMLResponse)
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 NewNullableSecurityAPIXMLResponseArray ¶
func NewNullableSecurityAPIXMLResponseArray(val *SecurityAPIXMLResponseArray) *NullableSecurityAPIXMLResponseArray
func (NullableSecurityAPIXMLResponseArray) Get ¶
func (v NullableSecurityAPIXMLResponseArray) Get() *SecurityAPIXMLResponseArray
func (NullableSecurityAPIXMLResponseArray) IsSet ¶
func (v NullableSecurityAPIXMLResponseArray) IsSet() bool
func (NullableSecurityAPIXMLResponseArray) MarshalJSON ¶
func (v NullableSecurityAPIXMLResponseArray) MarshalJSON() ([]byte, error)
func (*NullableSecurityAPIXMLResponseArray) Set ¶
func (v *NullableSecurityAPIXMLResponseArray) Set(val *SecurityAPIXMLResponseArray)
func (*NullableSecurityAPIXMLResponseArray) UnmarshalJSON ¶
func (v *NullableSecurityAPIXMLResponseArray) UnmarshalJSON(src []byte) error
func (*NullableSecurityAPIXMLResponseArray) Unset ¶
func (v *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 NewNullableTimeConversionResponse ¶
func NewNullableTimeConversionResponse(val *TimeConversionResponse) *NullableTimeConversionResponse
func (NullableTimeConversionResponse) Get ¶
func (v NullableTimeConversionResponse) Get() *TimeConversionResponse
func (NullableTimeConversionResponse) IsSet ¶
func (v NullableTimeConversionResponse) IsSet() bool
func (NullableTimeConversionResponse) MarshalJSON ¶
func (v NullableTimeConversionResponse) MarshalJSON() ([]byte, error)
func (*NullableTimeConversionResponse) Set ¶
func (v *NullableTimeConversionResponse) Set(val *TimeConversionResponse)
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 NewNullableTimeConversionXMLResponse ¶
func NewNullableTimeConversionXMLResponse(val *TimeConversionXMLResponse) *NullableTimeConversionXMLResponse
func (NullableTimeConversionXMLResponse) Get ¶
func (v NullableTimeConversionXMLResponse) Get() *TimeConversionXMLResponse
func (NullableTimeConversionXMLResponse) IsSet ¶
func (v NullableTimeConversionXMLResponse) IsSet() bool
func (NullableTimeConversionXMLResponse) MarshalJSON ¶
func (v NullableTimeConversionXMLResponse) MarshalJSON() ([]byte, error)
func (*NullableTimeConversionXMLResponse) Set ¶
func (v *NullableTimeConversionXMLResponse) Set(val *TimeConversionXMLResponse)
func (*NullableTimeConversionXMLResponse) UnmarshalJSON ¶
func (v *NullableTimeConversionXMLResponse) UnmarshalJSON(src []byte) error
func (*NullableTimeConversionXMLResponse) Unset ¶
func (v *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 NewNullableTimeZoneDetailedResponse ¶
func NewNullableTimeZoneDetailedResponse(val *TimeZoneDetailedResponse) *NullableTimeZoneDetailedResponse
func (NullableTimeZoneDetailedResponse) Get ¶
func (v NullableTimeZoneDetailedResponse) Get() *TimeZoneDetailedResponse
func (NullableTimeZoneDetailedResponse) IsSet ¶
func (v NullableTimeZoneDetailedResponse) IsSet() bool
func (NullableTimeZoneDetailedResponse) MarshalJSON ¶
func (v NullableTimeZoneDetailedResponse) MarshalJSON() ([]byte, error)
func (*NullableTimeZoneDetailedResponse) Set ¶
func (v *NullableTimeZoneDetailedResponse) Set(val *TimeZoneDetailedResponse)
func (*NullableTimeZoneDetailedResponse) UnmarshalJSON ¶
func (v *NullableTimeZoneDetailedResponse) UnmarshalJSON(src []byte) error
func (*NullableTimeZoneDetailedResponse) Unset ¶
func (v *NullableTimeZoneDetailedResponse) Unset()
type NullableTimeZoneDetailedXMLResponse ¶
type NullableTimeZoneDetailedXMLResponse struct {
// contains filtered or unexported fields
}
func NewNullableTimeZoneDetailedXMLResponse ¶
func NewNullableTimeZoneDetailedXMLResponse(val *TimeZoneDetailedXMLResponse) *NullableTimeZoneDetailedXMLResponse
func (NullableTimeZoneDetailedXMLResponse) Get ¶
func (v NullableTimeZoneDetailedXMLResponse) Get() *TimeZoneDetailedXMLResponse
func (NullableTimeZoneDetailedXMLResponse) IsSet ¶
func (v NullableTimeZoneDetailedXMLResponse) IsSet() bool
func (NullableTimeZoneDetailedXMLResponse) MarshalJSON ¶
func (v NullableTimeZoneDetailedXMLResponse) MarshalJSON() ([]byte, error)
func (*NullableTimeZoneDetailedXMLResponse) Set ¶
func (v *NullableTimeZoneDetailedXMLResponse) Set(val *TimeZoneDetailedXMLResponse)
func (*NullableTimeZoneDetailedXMLResponse) UnmarshalJSON ¶
func (v *NullableTimeZoneDetailedXMLResponse) UnmarshalJSON(src []byte) error
func (*NullableTimeZoneDetailedXMLResponse) Unset ¶
func (v *NullableTimeZoneDetailedXMLResponse) Unset()
type NullableTimeZoneDstEnd ¶
type NullableTimeZoneDstEnd struct {
// contains filtered or unexported fields
}
func NewNullableTimeZoneDstEnd ¶
func NewNullableTimeZoneDstEnd(val *TimeZoneDstEnd) *NullableTimeZoneDstEnd
func (NullableTimeZoneDstEnd) Get ¶
func (v NullableTimeZoneDstEnd) Get() *TimeZoneDstEnd
func (NullableTimeZoneDstEnd) IsSet ¶
func (v NullableTimeZoneDstEnd) IsSet() bool
func (NullableTimeZoneDstEnd) MarshalJSON ¶
func (v NullableTimeZoneDstEnd) MarshalJSON() ([]byte, error)
func (*NullableTimeZoneDstEnd) Set ¶
func (v *NullableTimeZoneDstEnd) Set(val *TimeZoneDstEnd)
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 (v NullableTimeZoneDstStart) Get() *TimeZoneDstStart
func (NullableTimeZoneDstStart) IsSet ¶
func (v NullableTimeZoneDstStart) IsSet() bool
func (NullableTimeZoneDstStart) MarshalJSON ¶
func (v NullableTimeZoneDstStart) MarshalJSON() ([]byte, error)
func (*NullableTimeZoneDstStart) Set ¶
func (v *NullableTimeZoneDstStart) Set(val *TimeZoneDstStart)
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 (v NullableTimezoneAirport) Get() *TimezoneAirport
func (NullableTimezoneAirport) IsSet ¶
func (v NullableTimezoneAirport) IsSet() bool
func (NullableTimezoneAirport) MarshalJSON ¶
func (v NullableTimezoneAirport) MarshalJSON() ([]byte, error)
func (*NullableTimezoneAirport) Set ¶
func (v *NullableTimezoneAirport) Set(val *TimezoneAirport)
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 (v NullableTimezoneDetail) Get() *TimezoneDetail
func (NullableTimezoneDetail) IsSet ¶
func (v NullableTimezoneDetail) IsSet() bool
func (NullableTimezoneDetail) MarshalJSON ¶
func (v NullableTimezoneDetail) MarshalJSON() ([]byte, error)
func (*NullableTimezoneDetail) Set ¶
func (v *NullableTimezoneDetail) Set(val *TimezoneDetail)
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 (v NullableTimezoneDetailDstEnd) Get() *TimezoneDetailDstEnd
func (NullableTimezoneDetailDstEnd) IsSet ¶
func (v NullableTimezoneDetailDstEnd) IsSet() bool
func (NullableTimezoneDetailDstEnd) MarshalJSON ¶
func (v NullableTimezoneDetailDstEnd) MarshalJSON() ([]byte, error)
func (*NullableTimezoneDetailDstEnd) Set ¶
func (v *NullableTimezoneDetailDstEnd) Set(val *TimezoneDetailDstEnd)
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 NewNullableTimezoneDetailDstStart ¶
func NewNullableTimezoneDetailDstStart(val *TimezoneDetailDstStart) *NullableTimezoneDetailDstStart
func (NullableTimezoneDetailDstStart) Get ¶
func (v NullableTimezoneDetailDstStart) Get() *TimezoneDetailDstStart
func (NullableTimezoneDetailDstStart) IsSet ¶
func (v NullableTimezoneDetailDstStart) IsSet() bool
func (NullableTimezoneDetailDstStart) MarshalJSON ¶
func (v NullableTimezoneDetailDstStart) MarshalJSON() ([]byte, error)
func (*NullableTimezoneDetailDstStart) Set ¶
func (v *NullableTimezoneDetailDstStart) Set(val *TimezoneDetailDstStart)
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 (v NullableTimezoneLocation) Get() *TimezoneLocation
func (NullableTimezoneLocation) IsSet ¶
func (v NullableTimezoneLocation) IsSet() bool
func (NullableTimezoneLocation) MarshalJSON ¶
func (v NullableTimezoneLocation) MarshalJSON() ([]byte, error)
func (*NullableTimezoneLocation) Set ¶
func (v *NullableTimezoneLocation) Set(val *TimezoneLocation)
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 (v NullableTimezoneLocode) Get() *TimezoneLocode
func (NullableTimezoneLocode) IsSet ¶
func (v NullableTimezoneLocode) IsSet() bool
func (NullableTimezoneLocode) MarshalJSON ¶
func (v NullableTimezoneLocode) MarshalJSON() ([]byte, error)
func (*NullableTimezoneLocode) Set ¶
func (v *NullableTimezoneLocode) Set(val *TimezoneLocode)
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 (v NullableUserAgentData) Get() *UserAgentData
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 (v NullableUserAgentDataDevice) Get() *UserAgentDataDevice
func (NullableUserAgentDataDevice) IsSet ¶
func (v NullableUserAgentDataDevice) IsSet() bool
func (NullableUserAgentDataDevice) MarshalJSON ¶
func (v NullableUserAgentDataDevice) MarshalJSON() ([]byte, error)
func (*NullableUserAgentDataDevice) Set ¶
func (v *NullableUserAgentDataDevice) Set(val *UserAgentDataDevice)
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 (v NullableUserAgentDataEngine) Get() *UserAgentDataEngine
func (NullableUserAgentDataEngine) IsSet ¶
func (v NullableUserAgentDataEngine) IsSet() bool
func (NullableUserAgentDataEngine) MarshalJSON ¶
func (v NullableUserAgentDataEngine) MarshalJSON() ([]byte, error)
func (*NullableUserAgentDataEngine) Set ¶
func (v *NullableUserAgentDataEngine) Set(val *UserAgentDataEngine)
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 NewNullableUserAgentDataOperatingSystem ¶
func NewNullableUserAgentDataOperatingSystem(val *UserAgentDataOperatingSystem) *NullableUserAgentDataOperatingSystem
func (NullableUserAgentDataOperatingSystem) Get ¶
func (v NullableUserAgentDataOperatingSystem) Get() *UserAgentDataOperatingSystem
func (NullableUserAgentDataOperatingSystem) IsSet ¶
func (v NullableUserAgentDataOperatingSystem) IsSet() bool
func (NullableUserAgentDataOperatingSystem) MarshalJSON ¶
func (v NullableUserAgentDataOperatingSystem) MarshalJSON() ([]byte, error)
func (*NullableUserAgentDataOperatingSystem) Set ¶
func (v *NullableUserAgentDataOperatingSystem) Set(val *UserAgentDataOperatingSystem)
func (*NullableUserAgentDataOperatingSystem) UnmarshalJSON ¶
func (v *NullableUserAgentDataOperatingSystem) UnmarshalJSON(src []byte) error
func (*NullableUserAgentDataOperatingSystem) Unset ¶
func (v *NullableUserAgentDataOperatingSystem) Unset()
type NullableUserAgentXMLData ¶
type NullableUserAgentXMLData struct {
// contains filtered or unexported fields
}
func NewNullableUserAgentXMLData ¶
func NewNullableUserAgentXMLData(val *UserAgentXMLData) *NullableUserAgentXMLData
func (NullableUserAgentXMLData) Get ¶
func (v NullableUserAgentXMLData) Get() *UserAgentXMLData
func (NullableUserAgentXMLData) IsSet ¶
func (v NullableUserAgentXMLData) IsSet() bool
func (NullableUserAgentXMLData) MarshalJSON ¶
func (v NullableUserAgentXMLData) MarshalJSON() ([]byte, error)
func (*NullableUserAgentXMLData) Set ¶
func (v *NullableUserAgentXMLData) Set(val *UserAgentXMLData)
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 NewNullableUserAgentXMLDataArray ¶
func NewNullableUserAgentXMLDataArray(val *UserAgentXMLDataArray) *NullableUserAgentXMLDataArray
func (NullableUserAgentXMLDataArray) Get ¶
func (v NullableUserAgentXMLDataArray) Get() *UserAgentXMLDataArray
func (NullableUserAgentXMLDataArray) IsSet ¶
func (v NullableUserAgentXMLDataArray) IsSet() bool
func (NullableUserAgentXMLDataArray) MarshalJSON ¶
func (v NullableUserAgentXMLDataArray) MarshalJSON() ([]byte, error)
func (*NullableUserAgentXMLDataArray) Set ¶
func (v *NullableUserAgentXMLDataArray) Set(val *UserAgentXMLDataArray)
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 ¶
GetCloudProvider returns the CloudProvider field value if set, zero value otherwise.
func (*Security) GetCloudProviderOk ¶
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 ¶
GetIsAnonymous returns the IsAnonymous field value if set, zero value otherwise.
func (*Security) GetIsAnonymousOk ¶
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) GetIsBotOk ¶
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 ¶
GetIsCloudProvider returns the IsCloudProvider field value if set, zero value otherwise.
func (*Security) GetIsCloudProviderOk ¶
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 ¶
GetIsKnownAttacker returns the IsKnownAttacker field value if set, zero value otherwise.
func (*Security) GetIsKnownAttackerOk ¶
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 ¶
GetIsProxy returns the IsProxy field value if set, zero value otherwise.
func (*Security) GetIsProxyOk ¶
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) GetIsSpamOk ¶
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) GetIsTorOk ¶
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 ¶
GetProxyProvider returns the ProxyProvider field value if set, zero value otherwise.
func (*Security) GetProxyProviderOk ¶
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 ¶
GetProxyType returns the ProxyType field value if set, zero value otherwise.
func (*Security) GetProxyTypeOk ¶
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 ¶
GetThreatScore returns the ThreatScore field value if set, zero value otherwise.
func (*Security) GetThreatScoreOk ¶
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 ¶
HasCloudProvider returns a boolean if a field has been set.
func (*Security) HasIsAnonymous ¶
HasIsAnonymous returns a boolean if a field has been set.
func (*Security) HasIsCloudProvider ¶
HasIsCloudProvider returns a boolean if a field has been set.
func (*Security) HasIsKnownAttacker ¶
HasIsKnownAttacker returns a boolean if a field has been set.
func (*Security) HasIsProxy ¶
HasIsProxy returns a boolean if a field has been set.
func (*Security) HasProxyProvider ¶
HasProxyProvider returns a boolean if a field has been set.
func (*Security) HasProxyType ¶
HasProxyType returns a boolean if a field has been set.
func (*Security) HasThreatScore ¶
HasThreatScore returns a boolean if a field has been set.
func (Security) MarshalJSON ¶
func (*Security) SetCloudProvider ¶
SetCloudProvider gets a reference to the given string and assigns it to the CloudProvider field.
func (*Security) SetIsAnonymous ¶
SetIsAnonymous gets a reference to the given bool and assigns it to the IsAnonymous field.
func (*Security) SetIsBot ¶
SetIsBot gets a reference to the given bool and assigns it to the IsBot field.
func (*Security) SetIsCloudProvider ¶
SetIsCloudProvider gets a reference to the given bool and assigns it to the IsCloudProvider field.
func (*Security) SetIsKnownAttacker ¶
SetIsKnownAttacker gets a reference to the given bool and assigns it to the IsKnownAttacker field.
func (*Security) SetIsProxy ¶
SetIsProxy gets a reference to the given bool and assigns it to the IsProxy field.
func (*Security) SetIsSpam ¶
SetIsSpam gets a reference to the given bool and assigns it to the IsSpam field.
func (*Security) SetIsTor ¶
SetIsTor gets a reference to the given bool and assigns it to the IsTor field.
func (*Security) SetProxyProvider ¶
SetProxyProvider gets a reference to the given string and assigns it to the ProxyProvider field.
func (*Security) SetProxyType ¶
SetProxyType gets a reference to the given string and assigns it to the ProxyType field.
func (*Security) SetThreatScore ¶
SetThreatScore gets a reference to the given int32 and assigns it to the ThreatScore field.
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 ¶
func (a *SecurityAPIService) GetIpSecurityInfo(ctx context.Context) ApiGetIpSecurityInfoRequest
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 ¶
func (a *SecurityAPIService) GetIpSecurityInfoExecute(r ApiGetIpSecurityInfoRequest) (*SecurityAPIResponse, *http.Response, error)
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 ¶
func (o *SecurityAPIXMLResponseArray) GetIp() string
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 ¶
func (o *SecurityAPIXMLResponseArray) GetLocation() LocationMinimal
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 ¶
func (o *SecurityAPIXMLResponseArray) GetNetwork() NetworkMinimal
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 ¶
func (o *SecurityAPIXMLResponseArray) SetNetwork(v NetworkMinimal)
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
type ServerVariable ¶
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 ¶
func (a *TimeConversionAPIService) ConvertTimeBetweenTimezones(ctx context.Context) ApiConvertTimeBetweenTimezonesRequest
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 ¶
func (a *TimeConversionAPIService) ConvertTimeBetweenTimezonesExecute(r ApiConvertTimeBetweenTimezonesRequest) (*TimeConversionResponse, *http.Response, error)
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 ¶
GetCurrentTime returns the CurrentTime field value if set, zero value otherwise.
func (*TimeZone) GetCurrentTimeOk ¶
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 ¶
GetCurrentTimeUnix returns the CurrentTimeUnix field value if set, zero value otherwise.
func (*TimeZone) GetCurrentTimeUnixOk ¶
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 ¶
GetDstExists returns the DstExists field value if set, zero value otherwise.
func (*TimeZone) GetDstExistsOk ¶
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 ¶
GetDstSavings returns the DstSavings field value if set, zero value otherwise.
func (*TimeZone) GetDstSavingsOk ¶
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) GetIsDstOk ¶
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) GetNameOk ¶
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) GetOffsetOk ¶
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 ¶
GetOffsetWithDst returns the OffsetWithDst field value if set, zero value otherwise.
func (*TimeZone) GetOffsetWithDstOk ¶
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 ¶
HasCurrentTime returns a boolean if a field has been set.
func (*TimeZone) HasCurrentTimeUnix ¶
HasCurrentTimeUnix returns a boolean if a field has been set.
func (*TimeZone) HasDstExists ¶
HasDstExists returns a boolean if a field has been set.
func (*TimeZone) HasDstSavings ¶
HasDstSavings returns a boolean if a field has been set.
func (*TimeZone) HasDstStart ¶
HasDstStart returns a boolean if a field has been set.
func (*TimeZone) HasOffsetWithDst ¶
HasOffsetWithDst returns a boolean if a field has been set.
func (TimeZone) MarshalJSON ¶
func (*TimeZone) SetCurrentTime ¶
SetCurrentTime gets a reference to the given string and assigns it to the CurrentTime field.
func (*TimeZone) SetCurrentTimeUnix ¶
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 ¶
SetDstExists gets a reference to the given bool and assigns it to the DstExists field.
func (*TimeZone) SetDstSavings ¶
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 ¶
SetIsDst gets a reference to the given bool and assigns it to the IsDst field.
func (*TimeZone) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*TimeZone) SetOffset ¶
SetOffset gets a reference to the given int32 and assigns it to the Offset field.
func (*TimeZone) SetOffsetWithDst ¶
SetOffsetWithDst gets a reference to the given int32 and assigns it to the OffsetWithDst field.
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 ¶
func (o *TimeZoneDetailedXMLResponse) GetIp() string
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 ¶
func (o *TimeZoneDetailedXMLResponse) GetLocation() TimezoneLocation
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 ¶
func (o *TimeZoneDetailedXMLResponse) GetTimeZone() TimezoneDetail
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 ¶
func (o *TimeZoneDetailedXMLResponse) SetLocation(v TimezoneLocation)
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 ¶
func (a *TimezoneAPIService) GetTimezoneInfo(ctx context.Context) ApiGetTimezoneInfoRequest
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:
- Time Zone Name
- Geographic Coordinates (latitude & longitude)
- Location Address
- IP Address
- IATA Code
- ICAO Code
- 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 ¶
func (a *TimezoneAPIService) GetTimezoneInfoExecute(r ApiGetTimezoneInfoRequest) (*TimeZoneDetailedResponse, *http.Response, error)
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 ¶
func (a *UserAgentAPIService) GetUserAgentDetails(ctx context.Context) ApiGetUserAgentDetailsRequest
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 ¶
func (a *UserAgentAPIService) ParseUserAgentString(ctx context.Context) ApiParseUserAgentStringRequest
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 ¶
func (o *UserAgentXMLDataArray) GetDevice() UserAgentDataDevice
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 ¶
func (o *UserAgentXMLDataArray) GetEngine() UserAgentDataEngine
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 ¶
func (o *UserAgentXMLDataArray) SetDevice(v UserAgentDataDevice)
SetDevice gets a reference to the given UserAgentDataDevice and assigns it to the Device field.
func (*UserAgentXMLDataArray) SetEngine ¶
func (o *UserAgentXMLDataArray) SetEngine(v UserAgentDataEngine)
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
¶
- api_abuse_contact.go
- api_asn_lookup.go
- api_astronomy.go
- api_ip_location.go
- api_security.go
- api_time_conversion.go
- api_timezone.go
- api_user_agent.go
- auth.go
- client.go
- configuration.go
- model_abuse.go
- model_abuse_response.go
- model_abuse_response_xml.go
- model_asn_connection.go
- model_asn_details.go
- model_asn_response.go
- model_asn_response_xml.go
- model_asn_response_xml_asn.go
- model_astronomy.go
- model_astronomy_evening.go
- model_astronomy_location.go
- model_astronomy_morning.go
- model_astronomy_response.go
- model_astronomy_xml_response.go
- model_bulk_ip_geolocation.go
- model_bulk_ip_security.go
- model_country_metadata.go
- model_currency.go
- model_error_response.go
- model_error_xml_response.go
- model_error_xml_response_array.go
- model_geolocation_response.go
- model_geolocation_xml_response.go
- model_geolocation_xml_response_array.go
- model_get_bulk_ip_geolocation_200_response_inner_1.go
- model_get_bulk_ip_geolocation_request.go
- model_get_bulk_ip_security_info_200_response_inner_1.go
- model_location.go
- model_location_minimal.go
- model_network.go
- model_network_asn.go
- model_network_company.go
- model_network_minimal.go
- model_network_minimal_asn.go
- model_network_minimal_company.go
- model_parse_bulk_user_agent_strings_request.go
- model_parse_user_agent_string_request.go
- model_security.go
- model_security_api_response.go
- model_security_apixml_response.go
- model_security_apixml_response_array.go
- model_time_conversion_response.go
- model_time_conversion_xml_response.go
- model_time_zone.go
- model_time_zone_detailed_response.go
- model_time_zone_detailed_xml_response.go
- model_time_zone_dst_end.go
- model_time_zone_dst_start.go
- model_timezone_airport.go
- model_timezone_detail.go
- model_timezone_detail_dst_end.go
- model_timezone_detail_dst_start.go
- model_timezone_location.go
- model_timezone_locode.go
- model_user_agent_data.go
- model_user_agent_data_device.go
- model_user_agent_data_engine.go
- model_user_agent_data_operating_system.go
- model_user_agent_xml_data.go
- model_user_agent_xml_data_array.go
- response.go
- utils.go