openapi

package module
v1.1.65 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 22 Imported by: 0

README

Go API client for openapi

The affixapi.com API documentation.

Introduction

Affix API is an OAuth 2.1 application that allows developers to access customer data, without developers needing to manage or maintain integrations; or collect login credentials or API keys from users for these third party systems.

OAuth 2.1

Affix API follows the OAuth 2.1 spec.

As an OAuth application, Affix API handles not only both the collection of sensitive user credentials or API keys, but also builds and maintains the integrations with the providers, so you don't have to.

How to obtain an access token

in order to get started, you must:

  • register a client_id
  • direct your user to the sign in flow (https://connect.affixapi.com with the appropriate query parameters)
  • capture authorization_code we will send to your redirect URI after the sign in flow is complete and exchange that authorization_code for a Bearer token

Sandbox keys (xhr mode)

dev
eyJhbGciOiJFUzI1NiIsImtpZCI6Ims5RmxwSFR1YklmZWNsUU5QRVZzeFcxazFZZ0Zfbk1BWllOSGVuOFQxdGciLCJ0eXAiOiJKV1MifQ.eyJwcm92aWRlciI6InNhbmRib3giLCJzY29wZXMiOlsiLzIwMjMtMDMtMDEveGhyL2NvbXBhbnkiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWUiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWVzIiwiLzIwMjMtMDMtMDEveGhyL2dyb3VwcyIsIi8yMDIzLTAzLTAxL3hoci9pZGVudGl0eSIsIi8yMDIzLTAzLTAxL3hoci9wYXlydW5zIiwiLzIwMjMtMDMtMDEveGhyL3BheXJ1bnMvOnBheXJ1bl9pZCIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1iYWxhbmNlcyIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1lbnRyaWVzIiwiLzIwMjMtMDMtMDEveGhyL3RpbWVzaGVldHMiLCIvMjAyMy0wMy0wMS94aHIvd29yay1sb2NhdGlvbnMiXSwidG9rZW4iOiIzODIzNTNlMi05N2ZiLTRmMWEtOTYxYy0zZDI5OTViNzYxMTUiLCJpYXQiOjE3MTE4MTA3MTQsImlzcyI6InB1YmxpY2FwaS1pbnRlcm1lZGlhdGUuZGV2LmVuZ2luZWVyaW5nLmFmZml4YXBpLmNvbSIsInN1YiI6InhociIsImF1ZCI6IjNGREFFREY5LTFEQ0E0RjU0LTg3OTQ5RjZBLTQxMDI3NjQzIn0.zUJPaT6IxcIdr8b9iO6u-Rr5I-ohTHPYTrQGrgOFghbEbovItiwr9Wk479GnJVJc3WR8bxAwUMAE4Ul6Okdk6Q
employees endpoint sample:
curl --fail \\
  -X GET \\
  -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsImtpZCI6Ims5RmxwSFR1YklmZWNsUU5QRVZzeFcxazFZZ0Zfbk1BWllOSGVuOFQxdGciLCJ0eXAiOiJKV1MifQ.eyJwcm92aWRlciI6InNhbmRib3giLCJzY29wZXMiOlsiLzIwMjMtMDMtMDEveGhyL2NvbXBhbnkiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWUiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWVzIiwiLzIwMjMtMDMtMDEveGhyL2dyb3VwcyIsIi8yMDIzLTAzLTAxL3hoci9pZGVudGl0eSIsIi8yMDIzLTAzLTAxL3hoci9wYXlydW5zIiwiLzIwMjMtMDMtMDEveGhyL3BheXJ1bnMvOnBheXJ1bl9pZCIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1iYWxhbmNlcyIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1lbnRyaWVzIiwiLzIwMjMtMDMtMDEveGhyL3RpbWVzaGVldHMiLCIvMjAyMy0wMy0wMS94aHIvd29yay1sb2NhdGlvbnMiXSwidG9rZW4iOiIzODIzNTNlMi05N2ZiLTRmMWEtOTYxYy0zZDI5OTViNzYxMTUiLCJpYXQiOjE3MTE4MTA3MTQsImlzcyI6InB1YmxpY2FwaS1pbnRlcm1lZGlhdGUuZGV2LmVuZ2luZWVyaW5nLmFmZml4YXBpLmNvbSIsInN1YiI6InhociIsImF1ZCI6IjNGREFFREY5LTFEQ0E0RjU0LTg3OTQ5RjZBLTQxMDI3NjQzIn0.zUJPaT6IxcIdr8b9iO6u-Rr5I-ohTHPYTrQGrgOFghbEbovItiwr9Wk479GnJVJc3WR8bxAwUMAE4Ul6Okdk6Q' \\
  'https://dev.api.affixapi.com/2023-03-01/xhr/employees'
prod
eyJhbGciOiJFUzI1NiIsImtpZCI6Ims5RmxwSFR1YklmZWNsUU5QRVZzeFcxazFZZ0Zfbk1BWllOSGVuOFQxdGciLCJ0eXAiOiJKV1MifQ.eyJwcm92aWRlciI6InNhbmRib3giLCJzY29wZXMiOlsiLzIwMjMtMDMtMDEveGhyL2NvbXBhbnkiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWUiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWVzIiwiLzIwMjMtMDMtMDEveGhyL2dyb3VwcyIsIi8yMDIzLTAzLTAxL3hoci9pZGVudGl0eSIsIi8yMDIzLTAzLTAxL3hoci9wYXlydW5zIiwiLzIwMjMtMDMtMDEveGhyL3BheXJ1bnMvOnBheXJ1bl9pZCIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1iYWxhbmNlcyIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1lbnRyaWVzIiwiLzIwMjMtMDMtMDEveGhyL3RpbWVzaGVldHMiLCIvMjAyMy0wMy0wMS94aHIvd29yay1sb2NhdGlvbnMiXSwidG9rZW4iOiIzYjg4MDc2NC1kMGFmLTQ5ZDAtOGM5OS00YzIwYjE2MTJjOTMiLCJpYXQiOjE3MTE4MTA4NTgsImlzcyI6InB1YmxpY2FwaS1pbnRlcm1lZGlhdGUucHJvZC5lbmdpbmVlcmluZy5hZmZpeGFwaS5jb20iLCJzdWIiOiJ4aHIiLCJhdWQiOiIwOEJCMDgxRS1EOUFCNEQxNC04REY5OTIzMy02NjYxNUNFOSJ9.n3pJmmfegU21Tko_TyUyCHi4ITvfd75T8NFFTHmf1r8AI8yCUYTWdfNjyZZWcZD6z50I3Wsk2rAd8GDWXn4vlg
employees endpoint sample:
curl --fail \\
  -X GET \\
  -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsImtpZCI6Ims5RmxwSFR1YklmZWNsUU5QRVZzeFcxazFZZ0Zfbk1BWllOSGVuOFQxdGciLCJ0eXAiOiJKV1MifQ.eyJwcm92aWRlciI6InNhbmRib3giLCJzY29wZXMiOlsiLzIwMjMtMDMtMDEveGhyL2NvbXBhbnkiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWUiLCIvMjAyMy0wMy0wMS94aHIvZW1wbG95ZWVzIiwiLzIwMjMtMDMtMDEveGhyL2dyb3VwcyIsIi8yMDIzLTAzLTAxL3hoci9pZGVudGl0eSIsIi8yMDIzLTAzLTAxL3hoci9wYXlydW5zIiwiLzIwMjMtMDMtMDEveGhyL3BheXJ1bnMvOnBheXJ1bl9pZCIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1iYWxhbmNlcyIsIi8yMDIzLTAzLTAxL3hoci90aW1lLW9mZi1lbnRyaWVzIiwiLzIwMjMtMDMtMDEveGhyL3RpbWVzaGVldHMiLCIvMjAyMy0wMy0wMS94aHIvd29yay1sb2NhdGlvbnMiXSwidG9rZW4iOiIzYjg4MDc2NC1kMGFmLTQ5ZDAtOGM5OS00YzIwYjE2MTJjOTMiLCJpYXQiOjE3MTE4MTA4NTgsImlzcyI6InB1YmxpY2FwaS1pbnRlcm1lZGlhdGUucHJvZC5lbmdpbmVlcmluZy5hZmZpeGFwaS5jb20iLCJzdWIiOiJ4aHIiLCJhdWQiOiIwOEJCMDgxRS1EOUFCNEQxNC04REY5OTIzMy02NjYxNUNFOSJ9.n3pJmmfegU21Tko_TyUyCHi4ITvfd75T8NFFTHmf1r8AI8yCUYTWdfNjyZZWcZD6z50I3Wsk2rAd8GDWXn4vlg' \\
  'https://api.affixapi.com/2023-03-01/xhr/employees'

Compression

We support brotli, gzip, and deflate compression algorithms.

To enable, pass the Accept-Encoding header with one or all of the values: br, gzip, deflate, or identity (no compression)

In the response, you will receive the Content-Encoding response header indicating the compression algorithm used in the data payload to enable you to decompress the result. If the Accept-Encoding: identity header was passed, no Content-Encoding response header is sent back, as no compression algorithm was used.

Webhooks

An exciting feature for HR/Payroll modes are webhooks.

If enabled, your webhook_uri is set on your client_id for the respective environment: dev | prod

Webhooks are configured to make live requests to the underlying integration 1x/hr, and if a difference is detected since the last request, we will send a request to your webhook_uri with this shape:

{

  added: <api.v20230301.Employees>[
    <api.v20230301.Employee>{
      ...,
      date_of_birth: '2010-08-06',
      display_full_name: 'Daija Rogahn',
      employee_number: '57993',
      employment_status: 'pending',
      employment_type: 'other',
      employments: [
        {
          currency: 'eur',
          effective_date: '2022-02-25',
          employment_type: 'other',
          job_title: 'Dynamic Implementation Manager',
          pay_frequency: 'semimonthly',
          pay_period: 'YEAR',
          pay_rate: 96000,
        },
      ],
      first_name: 'Daija',
      ...
    }
  ],
  removed: [],
  updated: [
    <api.v20230301.Employee>{
      ...,
      date_of_birth: '2009-11-09',
      display_full_name: 'Lourdes Stiedemann',
      employee_number: '63189',
      employment_status: 'leave',
      employment_type: 'full_time',
      employments: [
        {
          currency: 'gbp',
          effective_date: '2023-01-16',
          employment_type: 'full_time',
          job_title: 'Forward Brand Planner',
          pay_frequency: 'semimonthly',
          pay_period: 'YEAR',
          pay_rate: 86000,
        },
      ],
      first_name: 'Lourdes',
    }
  ]
}

the following headers will be sent with webhook requests:

x-affix-api-signature: ab8474e609db95d5df3adc39ea3add7a7544bd215c5c520a30a650ae93a2fba7

x-affix-api-origin:  webhooks-employees-webhook

user-agent:  affixapi.com

Before trusting the payload, you should sign the payload and verify the signature matches the signature sent by the affixapi.com service.

This secures that the data sent to your webhook_uri is from the affixapi.com server.

The signature is created by combining the signing secret (your client_secret) with the body of the request sent using a standard HMAC-SHA256 keyed hash.

The signature can be created via:

  • create an HMAC with your client_secret
  • update the HMAC with the payload
  • get the hex digest -> this is the signature

Sample typescript code that follows this recipe:

import { createHmac } from 'crypto';

export const computeSignature = ({
  str,
  signingSecret,
}: {
  signingSecret: string;
  str: string;
}): string => {
  const hmac = createHmac('sha256', signingSecret);
  hmac.update(str);
  const signature = hmac.digest('hex');

  return signature;
};

While verifying the Affix API signature header should be your primary method of confirming validity, you can also whitelist our outbound webhook static IP addresses.

dev:
  - 52.210.169.82
  - 52.210.38.77
  - 3.248.135.204

prod:
  - 52.51.160.102
  - 54.220.83.244
  - 3.254.213.171

Rate limits

Open endpoints (not gated by an API key) (applied at endpoint level):

  • 15 requests every 1 minute (by IP address)
  • 25 requests every 5 minutes (by IP address)

Gated endpoints (require an API key) (applied at endpoint level):

  • 40 requests every 1 minute (by IP address)
  • 40 requests every 5 minutes (by client_id)

Things to keep in mind:

  • Open endpoints (not gated by an API key) will likely be called by your users, not you, so rate limits generally would not apply to you.
  • As a developer, rate limits are applied at the endpoint granularity.
    • For example, say the rate limits below are 10 requests per minute by ip. from that same ip, within 1 minute, you get:
      • 10 requests per minute on /orders,
      • another 10 requests per minute on /items,
      • and another 10 requests per minute on /identity,
      • for a total of 30 requests per minute.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2023-03-01
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import sw "./openapi"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), sw.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), sw.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), sw.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), sw.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.affixapi.com

Class Method HTTP request Description
Class20230301Api XhrCompanies20230301 Get /2023-03-01/xhr/company Company
Class20230301Api XhrEmployees20230301 Get /2023-03-01/xhr/employees Employees
Class20230301Api XhrGroups20230301 Get /2023-03-01/xhr/groups Groups
Class20230301Api XhrIdentity20230301 Get /2023-03-01/xhr/identity Identity
Class20230301Api XhrPayruns20230301 Get /2023-03-01/xhr/payruns Payruns
Class20230301Api XhrPayslips20230301 Get /2023-03-01/xhr/payruns/{payrun_id} Payslips
Class20230301Api XhrTimeOffBalances20230301 Get /2023-03-01/xhr/time-off-balances Time off balances
Class20230301Api XhrTimeOffEntries20230301 Get /2023-03-01/xhr/time-off-entries Time off entries
Class20230301Api XhrTimesheets20230301 Get /2023-03-01/xhr/timesheets Timesheets
Class20230301Api XhrWorkLocations20230301 Get /2023-03-01/xhr/work-locations Work locations
CoreApi Providers Get /providers Providers
ManagementApi Client Get /2023-03-01/management/client Client
ManagementApi Disconnect Post /2023-03-01/management/disconnect Disconnect token
ManagementApi Introspect Get /2023-03-01/management/introspect Inspect token
ManagementApi Token Post /2023-03-01/management/token Create token
ManagementApi Tokens Get /2023-03-01/management/tokens Tokens
ManagementApi UpdateClient Post /2023-03-01/management/client Update client
XHRVerticallyIntegratedApi XhrCompanies20230301 Get /2023-03-01/xhr/company Company
XHRVerticallyIntegratedApi XhrEmployees20230301 Get /2023-03-01/xhr/employees Employees
XHRVerticallyIntegratedApi XhrGroups20230301 Get /2023-03-01/xhr/groups Groups
XHRVerticallyIntegratedApi XhrIdentity20230301 Get /2023-03-01/xhr/identity Identity
XHRVerticallyIntegratedApi XhrPayruns20230301 Get /2023-03-01/xhr/payruns Payruns
XHRVerticallyIntegratedApi XhrPayslips20230301 Get /2023-03-01/xhr/payruns/{payrun_id} Payslips
XHRVerticallyIntegratedApi XhrTimeOffBalances20230301 Get /2023-03-01/xhr/time-off-balances Time off balances
XHRVerticallyIntegratedApi XhrTimeOffEntries20230301 Get /2023-03-01/xhr/time-off-entries Time off entries
XHRVerticallyIntegratedApi XhrTimesheets20230301 Get /2023-03-01/xhr/timesheets Timesheets
XHRVerticallyIntegratedApi XhrWorkLocations20230301 Get /2023-03-01/xhr/work-locations Work locations

Documentation For Models

Documentation For Authorization

access-token
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

basic
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

developers@affixapi.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	Class20230301Api *Class20230301ApiService

	CoreApi *CoreApiService

	ManagementApi *ManagementApiService

	XHRVerticallyIntegratedApi *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Affix API API v2023-03-01 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AddressNoNonNullRequest

type AddressNoNonNullRequest struct {
	StreetAddress NullableString `json:"street_address"`
	Locality      NullableString `json:"locality"`
	// The administrative area of the address. If US or CA, the two-letter state or province abbreviation. Else, the province / administrative area; such as, `Dublin 2` or `County Cork`
	AdministrativeArea NullableString `json:"administrative_area"`
	// The ISO-3166-2 two-letter abbreviation of the country. Reference https://en.wikipedia.org/wiki/ISO_3166-2 for more details
	Country  NullableString `json:"country"`
	PostCode NullableString `json:"post_code"`
}

AddressNoNonNullRequest struct for AddressNoNonNullRequest

func NewAddressNoNonNullRequest

func NewAddressNoNonNullRequest(streetAddress NullableString, locality NullableString, administrativeArea NullableString, country NullableString, postCode NullableString) *AddressNoNonNullRequest

NewAddressNoNonNullRequest instantiates a new AddressNoNonNullRequest 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 NewAddressNoNonNullRequestWithDefaults

func NewAddressNoNonNullRequestWithDefaults() *AddressNoNonNullRequest

NewAddressNoNonNullRequestWithDefaults instantiates a new AddressNoNonNullRequest 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 (*AddressNoNonNullRequest) GetAdministrativeArea

func (o *AddressNoNonNullRequest) GetAdministrativeArea() string

GetAdministrativeArea returns the AdministrativeArea field value If the value is explicit nil, the zero value for string will be returned

func (*AddressNoNonNullRequest) GetAdministrativeAreaOk

func (o *AddressNoNonNullRequest) GetAdministrativeAreaOk() (*string, bool)

GetAdministrativeAreaOk returns a tuple with the AdministrativeArea field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressNoNonNullRequest) GetCountry

func (o *AddressNoNonNullRequest) GetCountry() string

GetCountry returns the Country field value If the value is explicit nil, the zero value for string will be returned

func (*AddressNoNonNullRequest) GetCountryOk

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

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressNoNonNullRequest) GetLocality

func (o *AddressNoNonNullRequest) GetLocality() string

GetLocality returns the Locality field value If the value is explicit nil, the zero value for string will be returned

func (*AddressNoNonNullRequest) GetLocalityOk

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

GetLocalityOk returns a tuple with the Locality field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressNoNonNullRequest) GetPostCode

func (o *AddressNoNonNullRequest) GetPostCode() string

GetPostCode returns the PostCode field value If the value is explicit nil, the zero value for string will be returned

func (*AddressNoNonNullRequest) GetPostCodeOk

func (o *AddressNoNonNullRequest) GetPostCodeOk() (*string, bool)

GetPostCodeOk returns a tuple with the PostCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressNoNonNullRequest) GetStreetAddress

func (o *AddressNoNonNullRequest) GetStreetAddress() string

GetStreetAddress returns the StreetAddress field value If the value is explicit nil, the zero value for string will be returned

func (*AddressNoNonNullRequest) GetStreetAddressOk

func (o *AddressNoNonNullRequest) GetStreetAddressOk() (*string, bool)

GetStreetAddressOk returns a tuple with the StreetAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (AddressNoNonNullRequest) MarshalJSON

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

func (*AddressNoNonNullRequest) SetAdministrativeArea

func (o *AddressNoNonNullRequest) SetAdministrativeArea(v string)

SetAdministrativeArea sets field value

func (*AddressNoNonNullRequest) SetCountry

func (o *AddressNoNonNullRequest) SetCountry(v string)

SetCountry sets field value

func (*AddressNoNonNullRequest) SetLocality

func (o *AddressNoNonNullRequest) SetLocality(v string)

SetLocality sets field value

func (*AddressNoNonNullRequest) SetPostCode

func (o *AddressNoNonNullRequest) SetPostCode(v string)

SetPostCode sets field value

func (*AddressNoNonNullRequest) SetStreetAddress

func (o *AddressNoNonNullRequest) SetStreetAddress(v string)

SetStreetAddress sets field value

type AddressResponse

type AddressResponse struct {
	StreetAddress NullableString `json:"street_address"`
	Locality      NullableString `json:"locality"`
	// The administrative area of the address. If US or CA, the two-letter state or province abbreviation. Else, the province / administrative area; such as, `Dublin 2` or `County Cork`
	AdministrativeArea NullableString `json:"administrative_area"`
	// The ISO-3166-2 two-letter abbreviation of the country. Reference https://en.wikipedia.org/wiki/ISO_3166-2 for more details
	Country  NullableString `json:"country"`
	PostCode NullableString `json:"post_code"`
}

AddressResponse struct for AddressResponse

func NewAddressResponse

func NewAddressResponse(streetAddress NullableString, locality NullableString, administrativeArea NullableString, country NullableString, postCode NullableString) *AddressResponse

NewAddressResponse instantiates a new AddressResponse 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 NewAddressResponseWithDefaults

func NewAddressResponseWithDefaults() *AddressResponse

NewAddressResponseWithDefaults instantiates a new AddressResponse 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 (*AddressResponse) GetAdministrativeArea

func (o *AddressResponse) GetAdministrativeArea() string

GetAdministrativeArea returns the AdministrativeArea field value If the value is explicit nil, the zero value for string will be returned

func (*AddressResponse) GetAdministrativeAreaOk

func (o *AddressResponse) GetAdministrativeAreaOk() (*string, bool)

GetAdministrativeAreaOk returns a tuple with the AdministrativeArea field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressResponse) GetCountry

func (o *AddressResponse) GetCountry() string

GetCountry returns the Country field value If the value is explicit nil, the zero value for string will be returned

func (*AddressResponse) GetCountryOk

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

GetCountryOk returns a tuple with the Country field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressResponse) GetLocality

func (o *AddressResponse) GetLocality() string

GetLocality returns the Locality field value If the value is explicit nil, the zero value for string will be returned

func (*AddressResponse) GetLocalityOk

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

GetLocalityOk returns a tuple with the Locality field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressResponse) GetPostCode

func (o *AddressResponse) GetPostCode() string

GetPostCode returns the PostCode field value If the value is explicit nil, the zero value for string will be returned

func (*AddressResponse) GetPostCodeOk

func (o *AddressResponse) GetPostCodeOk() (*string, bool)

GetPostCodeOk returns a tuple with the PostCode field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AddressResponse) GetStreetAddress

func (o *AddressResponse) GetStreetAddress() string

GetStreetAddress returns the StreetAddress field value If the value is explicit nil, the zero value for string will be returned

func (*AddressResponse) GetStreetAddressOk

func (o *AddressResponse) GetStreetAddressOk() (*string, bool)

GetStreetAddressOk returns a tuple with the StreetAddress field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (AddressResponse) MarshalJSON

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

func (*AddressResponse) SetAdministrativeArea

func (o *AddressResponse) SetAdministrativeArea(v string)

SetAdministrativeArea sets field value

func (*AddressResponse) SetCountry

func (o *AddressResponse) SetCountry(v string)

SetCountry sets field value

func (*AddressResponse) SetLocality

func (o *AddressResponse) SetLocality(v string)

SetLocality sets field value

func (*AddressResponse) SetPostCode

func (o *AddressResponse) SetPostCode(v string)

SetPostCode sets field value

func (*AddressResponse) SetStreetAddress

func (o *AddressResponse) SetStreetAddress(v string)

SetStreetAddress sets field value

type ApiClientRequest

type ApiClientRequest struct {
	ApiService *ManagementApiService
	// contains filtered or unexported fields
}

func (ApiClientRequest) Execute

type ApiDisconnectRequest

type ApiDisconnectRequest struct {
	ApiService *ManagementApiService
	// contains filtered or unexported fields
}

func (ApiDisconnectRequest) Execute

type ApiIntrospectRequest

type ApiIntrospectRequest struct {
	ApiService *ManagementApiService
	// contains filtered or unexported fields
}

func (ApiIntrospectRequest) Execute

type ApiProvidersRequest

type ApiProvidersRequest struct {
	ApiService *CoreApiService
	// contains filtered or unexported fields
}

func (ApiProvidersRequest) Execute

func (r ApiProvidersRequest) Execute() ([]map[string]interface{}, *_nethttp.Response, error)

type ApiTokenRequest

type ApiTokenRequest struct {
	ApiService *ManagementApiService
	// contains filtered or unexported fields
}

func (ApiTokenRequest) Execute

func (ApiTokenRequest) TokenRequest

func (r ApiTokenRequest) TokenRequest(tokenRequest TokenRequest) ApiTokenRequest

type ApiTokensRequest

type ApiTokensRequest struct {
	ApiService *ManagementApiService
	// contains filtered or unexported fields
}

func (ApiTokensRequest) Execute

func (r ApiTokensRequest) Execute() ([]map[string]interface{}, *_nethttp.Response, error)

type ApiUpdateClientRequest

type ApiUpdateClientRequest struct {
	ApiService *ManagementApiService
	// contains filtered or unexported fields
}

func (ApiUpdateClientRequest) ClientRequest

func (r ApiUpdateClientRequest) ClientRequest(clientRequest ClientRequest) ApiUpdateClientRequest

func (ApiUpdateClientRequest) Execute

type ApiXhrCompanies20230301Request added in v1.1.24

type ApiXhrCompanies20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrCompanies20230301Request) Execute added in v1.1.24

func (r ApiXhrCompanies20230301Request) Execute() ([]CompanyResponse, *_nethttp.Response, error)

type ApiXhrEmployees20230301Request added in v1.1.24

type ApiXhrEmployees20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrEmployees20230301Request) EmploymentStatus added in v1.1.61

func (r ApiXhrEmployees20230301Request) EmploymentStatus(employmentStatus EmploymentStatusNotNullNotNullable) ApiXhrEmployees20230301Request

func (ApiXhrEmployees20230301Request) Execute added in v1.1.24

func (r ApiXhrEmployees20230301Request) Execute() ([]EmployeeResponse, *_nethttp.Response, error)

type ApiXhrGroups20230301Request added in v1.1.24

type ApiXhrGroups20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrGroups20230301Request) Execute added in v1.1.24

func (r ApiXhrGroups20230301Request) Execute() ([]GroupResponse, *_nethttp.Response, error)

type ApiXhrIdentity20230301Request added in v1.1.24

type ApiXhrIdentity20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrIdentity20230301Request) Execute added in v1.1.24

func (r ApiXhrIdentity20230301Request) Execute() (IdentityResponse, *_nethttp.Response, error)

type ApiXhrPayruns20230301Request added in v1.1.24

type ApiXhrPayruns20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrPayruns20230301Request) EndDate added in v1.1.24

func (r ApiXhrPayruns20230301Request) EndDate(endDate string) ApiXhrPayruns20230301Request

func (ApiXhrPayruns20230301Request) Execute added in v1.1.24

func (r ApiXhrPayruns20230301Request) Execute() ([]PayrunResponse, *_nethttp.Response, error)

func (ApiXhrPayruns20230301Request) StartDate added in v1.1.24

func (r ApiXhrPayruns20230301Request) StartDate(startDate string) ApiXhrPayruns20230301Request

type ApiXhrPayslips20230301Request added in v1.1.24

type ApiXhrPayslips20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrPayslips20230301Request) Execute added in v1.1.24

func (r ApiXhrPayslips20230301Request) Execute() ([]PayslipResponse, *_nethttp.Response, error)

type ApiXhrTimeOffBalances20230301Request added in v1.1.24

type ApiXhrTimeOffBalances20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrTimeOffBalances20230301Request) Execute added in v1.1.24

func (r ApiXhrTimeOffBalances20230301Request) Execute() ([]TimeOffBalanceResponse, *_nethttp.Response, error)

type ApiXhrTimeOffEntries20230301Request added in v1.1.24

type ApiXhrTimeOffEntries20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrTimeOffEntries20230301Request) EndDate added in v1.1.65

func (r ApiXhrTimeOffEntries20230301Request) EndDate(endDate string) ApiXhrTimeOffEntries20230301Request

func (ApiXhrTimeOffEntries20230301Request) Execute added in v1.1.24

func (r ApiXhrTimeOffEntries20230301Request) Execute() ([]TimeOffEntryResponse, *_nethttp.Response, error)

func (ApiXhrTimeOffEntries20230301Request) StartDate added in v1.1.65

func (r ApiXhrTimeOffEntries20230301Request) StartDate(startDate string) ApiXhrTimeOffEntries20230301Request

type ApiXhrTimesheets20230301Request added in v1.1.24

type ApiXhrTimesheets20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrTimesheets20230301Request) EndDate added in v1.1.65

func (r ApiXhrTimesheets20230301Request) EndDate(endDate string) ApiXhrTimesheets20230301Request

func (ApiXhrTimesheets20230301Request) Execute added in v1.1.24

func (r ApiXhrTimesheets20230301Request) Execute() ([]TimesheetResponse, *_nethttp.Response, error)

func (ApiXhrTimesheets20230301Request) StartDate added in v1.1.65

func (r ApiXhrTimesheets20230301Request) StartDate(startDate string) ApiXhrTimesheets20230301Request

type ApiXhrWorkLocations20230301Request added in v1.1.24

type ApiXhrWorkLocations20230301Request struct {
	ApiService *XHRVerticallyIntegratedApiService
	// contains filtered or unexported fields
}

func (ApiXhrWorkLocations20230301Request) Execute added in v1.1.24

func (r ApiXhrWorkLocations20230301Request) Execute() ([]LocationResponse, *_nethttp.Response, 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 Class20230301ApiService

type Class20230301ApiService service

Class20230301ApiService Class20230301Api service

func (*Class20230301ApiService) XhrCompanies20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrCompanies20230301(ctx _context.Context) ApiXhrCompanies20230301Request

* XhrCompanies20230301 Company * Retrieve company information

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

func (*Class20230301ApiService) XhrCompanies20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrCompanies20230301Execute(r ApiXhrCompanies20230301Request) ([]CompanyResponse, *_nethttp.Response, error)

* Execute executes the request * @return []CompanyResponse

func (*Class20230301ApiService) XhrEmployees20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrEmployees20230301(ctx _context.Context) ApiXhrEmployees20230301Request
  • XhrEmployees20230301 Employees
  • List the individuals (employees, contractors, accountants, and others)

listed in the HRIS/Payroll software

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

func (*Class20230301ApiService) XhrEmployees20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrEmployees20230301Execute(r ApiXhrEmployees20230301Request) ([]EmployeeResponse, *_nethttp.Response, error)

* Execute executes the request * @return []EmployeeResponse

func (*Class20230301ApiService) XhrGroups20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrGroups20230301(ctx _context.Context) ApiXhrGroups20230301Request
  • XhrGroups20230301 Groups
  • The Group object is used to represent any subset of employees, such as

PayGroup, Team, or Department. Employees can be in multiple Groups.

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

func (*Class20230301ApiService) XhrGroups20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrGroups20230301Execute(r ApiXhrGroups20230301Request) ([]GroupResponse, *_nethttp.Response, error)

* Execute executes the request * @return []GroupResponse

func (*Class20230301ApiService) XhrIdentity20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrIdentity20230301(ctx _context.Context) ApiXhrIdentity20230301Request

* XhrIdentity20230301 Identity * List information of the user for the respective account

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

func (*Class20230301ApiService) XhrIdentity20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrIdentity20230301Execute(r ApiXhrIdentity20230301Request) (IdentityResponse, *_nethttp.Response, error)

* Execute executes the request * @return IdentityResponse

func (*Class20230301ApiService) XhrPayruns20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrPayruns20230301(ctx _context.Context) ApiXhrPayruns20230301Request
  • XhrPayruns20230301 Payruns
  • List all the pay runs that occurred during the respective period.

Supported integrations:

  • brain payroll

  • brightpay connect

  • deel

  • gusto

  • justworks

  • moorepay

  • onpay

  • oyster

  • parolla.ie

  • paycircle

  • payfit

  • pento.io

  • quickbooks online

  • remote.com

  • rippling

  • sageone

  • shape payroll

  • simplepay.ie

  • staffology

  • xero uk

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

  • @return ApiXhrPayruns20230301Request

func (*Class20230301ApiService) XhrPayruns20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrPayruns20230301Execute(r ApiXhrPayruns20230301Request) ([]PayrunResponse, *_nethttp.Response, error)

* Execute executes the request * @return []PayrunResponse

func (*Class20230301ApiService) XhrPayslips20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrPayslips20230301(ctx _context.Context, payrunId string) ApiXhrPayslips20230301Request
  • XhrPayslips20230301 Payslips
  • Retrieves payslips from a specific payrun.

Supported integrations:

  • sageone

  • simplepay.ie

  • brightpay connect

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

  • @param payrunId The id of the payrun.

  • @return ApiXhrPayslips20230301Request

func (*Class20230301ApiService) XhrPayslips20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrPayslips20230301Execute(r ApiXhrPayslips20230301Request) ([]PayslipResponse, *_nethttp.Response, error)

* Execute executes the request * @return []PayslipResponse

func (*Class20230301ApiService) XhrTimeOffBalances20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrTimeOffBalances20230301(ctx _context.Context) ApiXhrTimeOffBalances20230301Request

* XhrTimeOffBalances20230301 Time off balances * Retrieve all time off balances.

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

func (*Class20230301ApiService) XhrTimeOffBalances20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrTimeOffBalances20230301Execute(r ApiXhrTimeOffBalances20230301Request) ([]TimeOffBalanceResponse, *_nethttp.Response, error)

* Execute executes the request * @return []TimeOffBalanceResponse

func (*Class20230301ApiService) XhrTimeOffEntries20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrTimeOffEntries20230301(ctx _context.Context) ApiXhrTimeOffEntries20230301Request

* XhrTimeOffEntries20230301 Time off entries * Retrieve time off / absence entries

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

func (*Class20230301ApiService) XhrTimeOffEntries20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrTimeOffEntries20230301Execute(r ApiXhrTimeOffEntries20230301Request) ([]TimeOffEntryResponse, *_nethttp.Response, error)

* Execute executes the request * @return []TimeOffEntryResponse

func (*Class20230301ApiService) XhrTimesheets20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrTimesheets20230301(ctx _context.Context) ApiXhrTimesheets20230301Request

* XhrTimesheets20230301 Timesheets * Retrieve Timesheets

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

func (*Class20230301ApiService) XhrTimesheets20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrTimesheets20230301Execute(r ApiXhrTimesheets20230301Request) ([]TimesheetResponse, *_nethttp.Response, error)

* Execute executes the request * @return []TimesheetResponse

func (*Class20230301ApiService) XhrWorkLocations20230301 added in v1.1.24

func (a *Class20230301ApiService) XhrWorkLocations20230301(ctx _context.Context) ApiXhrWorkLocations20230301Request
  • XhrWorkLocations20230301 Work locations
  • The Location object is used to represent an address that can be associated

with an employee

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

func (*Class20230301ApiService) XhrWorkLocations20230301Execute added in v1.1.24

func (a *Class20230301ApiService) XhrWorkLocations20230301Execute(r ApiXhrWorkLocations20230301Request) ([]LocationResponse, *_nethttp.Response, error)

* Execute executes the request * @return []LocationResponse

type ClientRequest

type ClientRequest struct {
	// The client secret(s). It is an array datatype to allow for rotation of secrets without downtime for your customers
	ClientSecret []string `json:"client_secret"`
	// Indicates the URI to return the user to after authorization is complete, which is the endpoint on your server to receive the authorization_code.  Must be identical to the redirect URI provided in the original link.  Please email me after signup and I will set both your client secret and redirect_uri (required) when you reach out.
	RedirectUris []string `json:"redirect_uris"`
	// Name of your app that shows up in the Affix Connect application
	Name string `json:"name"`
	// If enabled, webhooks will be sent to this endpoint
	WebhookUri NullableString `json:"webhook_uri,omitempty"`
}

ClientRequest struct for ClientRequest

func NewClientRequest

func NewClientRequest(clientSecret []string, redirectUris []string, name string) *ClientRequest

NewClientRequest instantiates a new ClientRequest 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 NewClientRequestWithDefaults

func NewClientRequestWithDefaults() *ClientRequest

NewClientRequestWithDefaults instantiates a new ClientRequest 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 (*ClientRequest) GetClientSecret

func (o *ClientRequest) GetClientSecret() []string

GetClientSecret returns the ClientSecret field value

func (*ClientRequest) GetClientSecretOk

func (o *ClientRequest) GetClientSecretOk() (*[]string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.

func (*ClientRequest) GetName

func (o *ClientRequest) GetName() string

GetName returns the Name field value

func (*ClientRequest) GetNameOk

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

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

func (*ClientRequest) GetRedirectUris

func (o *ClientRequest) GetRedirectUris() []string

GetRedirectUris returns the RedirectUris field value

func (*ClientRequest) GetRedirectUrisOk

func (o *ClientRequest) GetRedirectUrisOk() (*[]string, bool)

GetRedirectUrisOk returns a tuple with the RedirectUris field value and a boolean to check if the value has been set.

func (*ClientRequest) GetWebhookUri

func (o *ClientRequest) GetWebhookUri() string

GetWebhookUri returns the WebhookUri field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClientRequest) GetWebhookUriOk

func (o *ClientRequest) GetWebhookUriOk() (*string, bool)

GetWebhookUriOk returns a tuple with the WebhookUri field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClientRequest) HasWebhookUri

func (o *ClientRequest) HasWebhookUri() bool

HasWebhookUri returns a boolean if a field has been set.

func (ClientRequest) MarshalJSON

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

func (*ClientRequest) SetClientSecret

func (o *ClientRequest) SetClientSecret(v []string)

SetClientSecret sets field value

func (*ClientRequest) SetName

func (o *ClientRequest) SetName(v string)

SetName sets field value

func (*ClientRequest) SetRedirectUris

func (o *ClientRequest) SetRedirectUris(v []string)

SetRedirectUris sets field value

func (*ClientRequest) SetWebhookUri

func (o *ClientRequest) SetWebhookUri(v string)

SetWebhookUri gets a reference to the given NullableString and assigns it to the WebhookUri field.

func (*ClientRequest) SetWebhookUriNil

func (o *ClientRequest) SetWebhookUriNil()

SetWebhookUriNil sets the value for WebhookUri to be an explicit nil

func (*ClientRequest) UnsetWebhookUri

func (o *ClientRequest) UnsetWebhookUri()

UnsetWebhookUri ensures that no value is present for WebhookUri, not even an explicit nil

type ClientResponse

type ClientResponse struct {
	// The client ID you received when you first created the application
	ClientId string `json:"client_id"`
	// The client secret(s). It is an array datatype to allow for rotation of secrets without downtime for your customers
	ClientSecret []string `json:"client_secret"`
	// Indicates the URI to return the user to after authorization is complete, which is the endpoint on your server to receive the authorization_code.  Must be identical to the redirect URI provided in the original link.  Please email me after signup and I will set both your client secret and redirect_uri (required) when you reach out.
	RedirectUris []string `json:"redirect_uris"`
	// Name of your app that shows up in the Affix Connect application
	Name string `json:"name"`
	// If enabled, webhooks will be sent to this endpoint
	WebhookUri NullableString `json:"webhook_uri,omitempty"`
}

ClientResponse struct for ClientResponse

func NewClientResponse

func NewClientResponse(clientId string, clientSecret []string, redirectUris []string, name string) *ClientResponse

NewClientResponse instantiates a new ClientResponse 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 NewClientResponseWithDefaults

func NewClientResponseWithDefaults() *ClientResponse

NewClientResponseWithDefaults instantiates a new ClientResponse 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 (*ClientResponse) GetClientId

func (o *ClientResponse) GetClientId() string

GetClientId returns the ClientId field value

func (*ClientResponse) GetClientIdOk

func (o *ClientResponse) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*ClientResponse) GetClientSecret

func (o *ClientResponse) GetClientSecret() []string

GetClientSecret returns the ClientSecret field value

func (*ClientResponse) GetClientSecretOk

func (o *ClientResponse) GetClientSecretOk() (*[]string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.

func (*ClientResponse) GetName

func (o *ClientResponse) GetName() string

GetName returns the Name field value

func (*ClientResponse) GetNameOk

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

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

func (*ClientResponse) GetRedirectUris

func (o *ClientResponse) GetRedirectUris() []string

GetRedirectUris returns the RedirectUris field value

func (*ClientResponse) GetRedirectUrisOk

func (o *ClientResponse) GetRedirectUrisOk() (*[]string, bool)

GetRedirectUrisOk returns a tuple with the RedirectUris field value and a boolean to check if the value has been set.

func (*ClientResponse) GetWebhookUri

func (o *ClientResponse) GetWebhookUri() string

GetWebhookUri returns the WebhookUri field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ClientResponse) GetWebhookUriOk

func (o *ClientResponse) GetWebhookUriOk() (*string, bool)

GetWebhookUriOk returns a tuple with the WebhookUri field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ClientResponse) HasWebhookUri

func (o *ClientResponse) HasWebhookUri() bool

HasWebhookUri returns a boolean if a field has been set.

func (ClientResponse) MarshalJSON

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

func (*ClientResponse) SetClientId

func (o *ClientResponse) SetClientId(v string)

SetClientId sets field value

func (*ClientResponse) SetClientSecret

func (o *ClientResponse) SetClientSecret(v []string)

SetClientSecret sets field value

func (*ClientResponse) SetName

func (o *ClientResponse) SetName(v string)

SetName sets field value

func (*ClientResponse) SetRedirectUris

func (o *ClientResponse) SetRedirectUris(v []string)

SetRedirectUris sets field value

func (*ClientResponse) SetWebhookUri

func (o *ClientResponse) SetWebhookUri(v string)

SetWebhookUri gets a reference to the given NullableString and assigns it to the WebhookUri field.

func (*ClientResponse) SetWebhookUriNil

func (o *ClientResponse) SetWebhookUriNil()

SetWebhookUriNil sets the value for WebhookUri to be an explicit nil

func (*ClientResponse) UnsetWebhookUri

func (o *ClientResponse) UnsetWebhookUri()

UnsetWebhookUri ensures that no value is present for WebhookUri, not even an explicit nil

type CompanyResponse

type CompanyResponse struct {
	// The Affix-assigned id of the abscence
	Id string `json:"id"`
	// the remote system-assigned id of the abscence
	RemoteId    string                  `json:"remote_id"`
	LegalName   NullableString          `json:"legal_name"`
	DisplayName NullableString          `json:"display_name"`
	TaxId       NullableString          `json:"tax_id"`
	Address     NullableAddressResponse `json:"address"`
}

CompanyResponse struct for CompanyResponse

func NewCompanyResponse

func NewCompanyResponse(id string, remoteId string, legalName NullableString, displayName NullableString, taxId NullableString, address NullableAddressResponse) *CompanyResponse

NewCompanyResponse instantiates a new CompanyResponse 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 NewCompanyResponseWithDefaults

func NewCompanyResponseWithDefaults() *CompanyResponse

NewCompanyResponseWithDefaults instantiates a new CompanyResponse 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 (*CompanyResponse) GetAddress

func (o *CompanyResponse) GetAddress() AddressResponse

GetAddress returns the Address field value If the value is explicit nil, the zero value for AddressResponse will be returned

func (*CompanyResponse) GetAddressOk

func (o *CompanyResponse) GetAddressOk() (*AddressResponse, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompanyResponse) GetDisplayName

func (o *CompanyResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value If the value is explicit nil, the zero value for string will be returned

func (*CompanyResponse) GetDisplayNameOk

func (o *CompanyResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompanyResponse) GetId

func (o *CompanyResponse) GetId() string

GetId returns the Id field value

func (*CompanyResponse) GetIdOk

func (o *CompanyResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CompanyResponse) GetLegalName

func (o *CompanyResponse) GetLegalName() string

GetLegalName returns the LegalName field value If the value is explicit nil, the zero value for string will be returned

func (*CompanyResponse) GetLegalNameOk

func (o *CompanyResponse) GetLegalNameOk() (*string, bool)

GetLegalNameOk returns a tuple with the LegalName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CompanyResponse) GetRemoteId

func (o *CompanyResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*CompanyResponse) GetRemoteIdOk

func (o *CompanyResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*CompanyResponse) GetTaxId

func (o *CompanyResponse) GetTaxId() string

GetTaxId returns the TaxId field value If the value is explicit nil, the zero value for string will be returned

func (*CompanyResponse) GetTaxIdOk

func (o *CompanyResponse) GetTaxIdOk() (*string, bool)

GetTaxIdOk returns a tuple with the TaxId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (CompanyResponse) MarshalJSON

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

func (*CompanyResponse) SetAddress

func (o *CompanyResponse) SetAddress(v AddressResponse)

SetAddress sets field value

func (*CompanyResponse) SetDisplayName

func (o *CompanyResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*CompanyResponse) SetId

func (o *CompanyResponse) SetId(v string)

SetId sets field value

func (*CompanyResponse) SetLegalName

func (o *CompanyResponse) SetLegalName(v string)

SetLegalName sets field value

func (*CompanyResponse) SetRemoteId

func (o *CompanyResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*CompanyResponse) SetTaxId

func (o *CompanyResponse) SetTaxId(v string)

SetTaxId sets field value

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type CoreApiService

type CoreApiService service

CoreApiService CoreApi service

func (*CoreApiService) Providers

* Providers Providers * Retrieve the api modes (official, xhr) and providers for the respective modes

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

func (*CoreApiService) ProvidersExecute

func (a *CoreApiService) ProvidersExecute(r ApiProvidersRequest) ([]map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return []map[string]interface{}

type CreateEmployeeRequest

type CreateEmployeeRequest struct {
	EmployeeNumber NullableString `json:"employee_number,omitempty"`
	// the first name of the individual
	FirstName string `json:"first_name"`
	// the last name of the individual
	LastName        string         `json:"last_name"`
	DisplayFullName NullableString `json:"display_full_name,omitempty"`
	Nationality     NullableString `json:"nationality,omitempty"`
	JobTitle        NullableString `json:"job_title,omitempty"`
	// the work email of the individual
	WorkEmail NullableString `json:"work_email,omitempty"`
	// the personal email of the individual
	PersonalEmail NullableString `json:"personal_email,omitempty"`
	// +1234567890
	MobilePhoneNumber NullableString                           `json:"mobile_phone_number,omitempty"`
	TaxId             NullableString                           `json:"tax_id,omitempty"`
	Gender            NullableString                           `json:"gender,omitempty"`
	Ethnicity         NullableString                           `json:"ethnicity,omitempty"`
	MaritalStatus     NullableString                           `json:"marital_status,omitempty"`
	DateOfBirth       NullableString                           `json:"date_of_birth,omitempty"`
	EmploymentStatus  NullableEmploymentStatusNotNullRequest   `json:"employment_status,omitempty"`
	EmploymentType    NullableString                           `json:"employment_type,omitempty"`
	StartDate         NullableString                           `json:"start_date,omitempty"`
	TerminationDate   NullableString                           `json:"termination_date,omitempty"`
	Avatar            NullableString                           `json:"avatar,omitempty"`
	HomeLocation      NullableAddressNoNonNullRequest          `json:"home_location,omitempty"`
	WorkLocation      NullableLocationNoNonNullRequest         `json:"work_location,omitempty"`
	Manager           NullableCreateEmployeeRequestManager     `json:"manager,omitempty"`
	BankAccount       NullableCreateEmployeeRequestBankAccount `json:"bank_account,omitempty"`
	Employments       []EmploymentNoNullEnumRequest            `json:"employments,omitempty"`
	CustomFields      map[string]interface{}                   `json:"custom_fields,omitempty"`
	Groups            []GroupNoNullEnumRequest                 `json:"groups,omitempty"`
	Dependents        []CreateEmployeeRequestDependents        `json:"dependents,omitempty"`
	EmergencyContacts []CreateEmployeeRequestEmergencyContacts `json:"emergency_contacts,omitempty"`
}

CreateEmployeeRequest struct for CreateEmployeeRequest

func NewCreateEmployeeRequest

func NewCreateEmployeeRequest(firstName string, lastName string) *CreateEmployeeRequest

NewCreateEmployeeRequest instantiates a new CreateEmployeeRequest 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 NewCreateEmployeeRequestWithDefaults

func NewCreateEmployeeRequestWithDefaults() *CreateEmployeeRequest

NewCreateEmployeeRequestWithDefaults instantiates a new CreateEmployeeRequest 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 (*CreateEmployeeRequest) GetAvatar

func (o *CreateEmployeeRequest) GetAvatar() string

GetAvatar returns the Avatar field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetAvatarOk

func (o *CreateEmployeeRequest) GetAvatarOk() (*string, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetBankAccount

GetBankAccount returns the BankAccount field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetBankAccountOk

GetBankAccountOk returns a tuple with the BankAccount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetCustomFields

func (o *CreateEmployeeRequest) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetCustomFieldsOk

func (o *CreateEmployeeRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)

GetCustomFieldsOk returns a tuple with the CustomFields field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetDateOfBirth

func (o *CreateEmployeeRequest) GetDateOfBirth() string

GetDateOfBirth returns the DateOfBirth field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetDateOfBirthOk

func (o *CreateEmployeeRequest) GetDateOfBirthOk() (*string, bool)

GetDateOfBirthOk returns a tuple with the DateOfBirth field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetDependents added in v1.1.61

GetDependents returns the Dependents field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetDependentsOk added in v1.1.61

func (o *CreateEmployeeRequest) GetDependentsOk() (*[]CreateEmployeeRequestDependents, bool)

GetDependentsOk returns a tuple with the Dependents field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetDisplayFullName

func (o *CreateEmployeeRequest) GetDisplayFullName() string

GetDisplayFullName returns the DisplayFullName field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetDisplayFullNameOk

func (o *CreateEmployeeRequest) GetDisplayFullNameOk() (*string, bool)

GetDisplayFullNameOk returns a tuple with the DisplayFullName field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetEmergencyContacts added in v1.1.61

GetEmergencyContacts returns the EmergencyContacts field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetEmergencyContactsOk added in v1.1.61

func (o *CreateEmployeeRequest) GetEmergencyContactsOk() (*[]CreateEmployeeRequestEmergencyContacts, bool)

GetEmergencyContactsOk returns a tuple with the EmergencyContacts field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetEmployeeNumber

func (o *CreateEmployeeRequest) GetEmployeeNumber() string

GetEmployeeNumber returns the EmployeeNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetEmployeeNumberOk

func (o *CreateEmployeeRequest) GetEmployeeNumberOk() (*string, bool)

GetEmployeeNumberOk returns a tuple with the EmployeeNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetEmploymentStatus

func (o *CreateEmployeeRequest) GetEmploymentStatus() EmploymentStatusNotNullRequest

GetEmploymentStatus returns the EmploymentStatus field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetEmploymentStatusOk

func (o *CreateEmployeeRequest) GetEmploymentStatusOk() (*EmploymentStatusNotNullRequest, bool)

GetEmploymentStatusOk returns a tuple with the EmploymentStatus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetEmploymentType

func (o *CreateEmployeeRequest) GetEmploymentType() string

GetEmploymentType returns the EmploymentType field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetEmploymentTypeOk

func (o *CreateEmployeeRequest) GetEmploymentTypeOk() (*string, bool)

GetEmploymentTypeOk returns a tuple with the EmploymentType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetEmployments

func (o *CreateEmployeeRequest) GetEmployments() []EmploymentNoNullEnumRequest

GetEmployments returns the Employments field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetEmploymentsOk

func (o *CreateEmployeeRequest) GetEmploymentsOk() (*[]EmploymentNoNullEnumRequest, bool)

GetEmploymentsOk returns a tuple with the Employments field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetEthnicity

func (o *CreateEmployeeRequest) GetEthnicity() string

GetEthnicity returns the Ethnicity field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetEthnicityOk

func (o *CreateEmployeeRequest) GetEthnicityOk() (*string, bool)

GetEthnicityOk returns a tuple with the Ethnicity field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetFirstName

func (o *CreateEmployeeRequest) GetFirstName() string

GetFirstName returns the FirstName field value

func (*CreateEmployeeRequest) GetFirstNameOk

func (o *CreateEmployeeRequest) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.

func (*CreateEmployeeRequest) GetGender

func (o *CreateEmployeeRequest) GetGender() string

GetGender returns the Gender field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetGenderOk

func (o *CreateEmployeeRequest) GetGenderOk() (*string, bool)

GetGenderOk returns a tuple with the Gender field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetGroups

GetGroups returns the Groups field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetGroupsOk

func (o *CreateEmployeeRequest) GetGroupsOk() (*[]GroupNoNullEnumRequest, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetHomeLocation

func (o *CreateEmployeeRequest) GetHomeLocation() AddressNoNonNullRequest

GetHomeLocation returns the HomeLocation field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetHomeLocationOk

func (o *CreateEmployeeRequest) GetHomeLocationOk() (*AddressNoNonNullRequest, bool)

GetHomeLocationOk returns a tuple with the HomeLocation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetJobTitle

func (o *CreateEmployeeRequest) GetJobTitle() string

GetJobTitle returns the JobTitle field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetJobTitleOk

func (o *CreateEmployeeRequest) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetLastName

func (o *CreateEmployeeRequest) GetLastName() string

GetLastName returns the LastName field value

func (*CreateEmployeeRequest) GetLastNameOk

func (o *CreateEmployeeRequest) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.

func (*CreateEmployeeRequest) GetManager

GetManager returns the Manager field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetManagerOk

GetManagerOk returns a tuple with the Manager field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetMaritalStatus

func (o *CreateEmployeeRequest) GetMaritalStatus() string

GetMaritalStatus returns the MaritalStatus field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetMaritalStatusOk

func (o *CreateEmployeeRequest) GetMaritalStatusOk() (*string, bool)

GetMaritalStatusOk returns a tuple with the MaritalStatus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetMobilePhoneNumber

func (o *CreateEmployeeRequest) GetMobilePhoneNumber() string

GetMobilePhoneNumber returns the MobilePhoneNumber field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetMobilePhoneNumberOk

func (o *CreateEmployeeRequest) GetMobilePhoneNumberOk() (*string, bool)

GetMobilePhoneNumberOk returns a tuple with the MobilePhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetNationality

func (o *CreateEmployeeRequest) GetNationality() string

GetNationality returns the Nationality field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetNationalityOk

func (o *CreateEmployeeRequest) GetNationalityOk() (*string, bool)

GetNationalityOk returns a tuple with the Nationality field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetPersonalEmail

func (o *CreateEmployeeRequest) GetPersonalEmail() string

GetPersonalEmail returns the PersonalEmail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetPersonalEmailOk

func (o *CreateEmployeeRequest) GetPersonalEmailOk() (*string, bool)

GetPersonalEmailOk returns a tuple with the PersonalEmail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetStartDate

func (o *CreateEmployeeRequest) GetStartDate() string

GetStartDate returns the StartDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetStartDateOk

func (o *CreateEmployeeRequest) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetTaxId

func (o *CreateEmployeeRequest) GetTaxId() string

GetTaxId returns the TaxId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetTaxIdOk

func (o *CreateEmployeeRequest) GetTaxIdOk() (*string, bool)

GetTaxIdOk returns a tuple with the TaxId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetTerminationDate

func (o *CreateEmployeeRequest) GetTerminationDate() string

GetTerminationDate returns the TerminationDate field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetTerminationDateOk

func (o *CreateEmployeeRequest) GetTerminationDateOk() (*string, bool)

GetTerminationDateOk returns a tuple with the TerminationDate field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetWorkEmail

func (o *CreateEmployeeRequest) GetWorkEmail() string

GetWorkEmail returns the WorkEmail field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetWorkEmailOk

func (o *CreateEmployeeRequest) GetWorkEmailOk() (*string, bool)

GetWorkEmailOk returns a tuple with the WorkEmail field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) GetWorkLocation

func (o *CreateEmployeeRequest) GetWorkLocation() LocationNoNonNullRequest

GetWorkLocation returns the WorkLocation field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEmployeeRequest) GetWorkLocationOk

func (o *CreateEmployeeRequest) GetWorkLocationOk() (*LocationNoNonNullRequest, bool)

GetWorkLocationOk returns a tuple with the WorkLocation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequest) HasAvatar

func (o *CreateEmployeeRequest) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasBankAccount

func (o *CreateEmployeeRequest) HasBankAccount() bool

HasBankAccount returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasCustomFields

func (o *CreateEmployeeRequest) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasDateOfBirth

func (o *CreateEmployeeRequest) HasDateOfBirth() bool

HasDateOfBirth returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasDependents added in v1.1.61

func (o *CreateEmployeeRequest) HasDependents() bool

HasDependents returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasDisplayFullName

func (o *CreateEmployeeRequest) HasDisplayFullName() bool

HasDisplayFullName returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasEmergencyContacts added in v1.1.61

func (o *CreateEmployeeRequest) HasEmergencyContacts() bool

HasEmergencyContacts returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasEmployeeNumber

func (o *CreateEmployeeRequest) HasEmployeeNumber() bool

HasEmployeeNumber returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasEmploymentStatus

func (o *CreateEmployeeRequest) HasEmploymentStatus() bool

HasEmploymentStatus returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasEmploymentType

func (o *CreateEmployeeRequest) HasEmploymentType() bool

HasEmploymentType returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasEmployments

func (o *CreateEmployeeRequest) HasEmployments() bool

HasEmployments returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasEthnicity

func (o *CreateEmployeeRequest) HasEthnicity() bool

HasEthnicity returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasGender

func (o *CreateEmployeeRequest) HasGender() bool

HasGender returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasGroups

func (o *CreateEmployeeRequest) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasHomeLocation

func (o *CreateEmployeeRequest) HasHomeLocation() bool

HasHomeLocation returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasJobTitle

func (o *CreateEmployeeRequest) HasJobTitle() bool

HasJobTitle returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasManager

func (o *CreateEmployeeRequest) HasManager() bool

HasManager returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasMaritalStatus

func (o *CreateEmployeeRequest) HasMaritalStatus() bool

HasMaritalStatus returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasMobilePhoneNumber

func (o *CreateEmployeeRequest) HasMobilePhoneNumber() bool

HasMobilePhoneNumber returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasNationality

func (o *CreateEmployeeRequest) HasNationality() bool

HasNationality returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasPersonalEmail

func (o *CreateEmployeeRequest) HasPersonalEmail() bool

HasPersonalEmail returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasStartDate

func (o *CreateEmployeeRequest) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasTaxId

func (o *CreateEmployeeRequest) HasTaxId() bool

HasTaxId returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasTerminationDate

func (o *CreateEmployeeRequest) HasTerminationDate() bool

HasTerminationDate returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasWorkEmail

func (o *CreateEmployeeRequest) HasWorkEmail() bool

HasWorkEmail returns a boolean if a field has been set.

func (*CreateEmployeeRequest) HasWorkLocation

func (o *CreateEmployeeRequest) HasWorkLocation() bool

HasWorkLocation returns a boolean if a field has been set.

func (CreateEmployeeRequest) MarshalJSON

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

func (*CreateEmployeeRequest) SetAvatar

func (o *CreateEmployeeRequest) SetAvatar(v string)

SetAvatar gets a reference to the given NullableString and assigns it to the Avatar field.

func (*CreateEmployeeRequest) SetAvatarNil

func (o *CreateEmployeeRequest) SetAvatarNil()

SetAvatarNil sets the value for Avatar to be an explicit nil

func (*CreateEmployeeRequest) SetBankAccount

SetBankAccount gets a reference to the given NullableCreateEmployeeRequestBankAccount and assigns it to the BankAccount field.

func (*CreateEmployeeRequest) SetBankAccountNil

func (o *CreateEmployeeRequest) SetBankAccountNil()

SetBankAccountNil sets the value for BankAccount to be an explicit nil

func (*CreateEmployeeRequest) SetCustomFields

func (o *CreateEmployeeRequest) SetCustomFields(v map[string]interface{})

SetCustomFields gets a reference to the given map[string]interface{} and assigns it to the CustomFields field.

func (*CreateEmployeeRequest) SetDateOfBirth

func (o *CreateEmployeeRequest) SetDateOfBirth(v string)

SetDateOfBirth gets a reference to the given NullableString and assigns it to the DateOfBirth field.

func (*CreateEmployeeRequest) SetDateOfBirthNil

func (o *CreateEmployeeRequest) SetDateOfBirthNil()

SetDateOfBirthNil sets the value for DateOfBirth to be an explicit nil

func (*CreateEmployeeRequest) SetDependents added in v1.1.61

SetDependents gets a reference to the given []CreateEmployeeRequestDependents and assigns it to the Dependents field.

func (*CreateEmployeeRequest) SetDisplayFullName

func (o *CreateEmployeeRequest) SetDisplayFullName(v string)

SetDisplayFullName gets a reference to the given NullableString and assigns it to the DisplayFullName field.

func (*CreateEmployeeRequest) SetDisplayFullNameNil

func (o *CreateEmployeeRequest) SetDisplayFullNameNil()

SetDisplayFullNameNil sets the value for DisplayFullName to be an explicit nil

func (*CreateEmployeeRequest) SetEmergencyContacts added in v1.1.61

SetEmergencyContacts gets a reference to the given []CreateEmployeeRequestEmergencyContacts and assigns it to the EmergencyContacts field.

func (*CreateEmployeeRequest) SetEmployeeNumber

func (o *CreateEmployeeRequest) SetEmployeeNumber(v string)

SetEmployeeNumber gets a reference to the given NullableString and assigns it to the EmployeeNumber field.

func (*CreateEmployeeRequest) SetEmployeeNumberNil

func (o *CreateEmployeeRequest) SetEmployeeNumberNil()

SetEmployeeNumberNil sets the value for EmployeeNumber to be an explicit nil

func (*CreateEmployeeRequest) SetEmploymentStatus

func (o *CreateEmployeeRequest) SetEmploymentStatus(v EmploymentStatusNotNullRequest)

SetEmploymentStatus gets a reference to the given NullableEmploymentStatusNotNullRequest and assigns it to the EmploymentStatus field.

func (*CreateEmployeeRequest) SetEmploymentStatusNil

func (o *CreateEmployeeRequest) SetEmploymentStatusNil()

SetEmploymentStatusNil sets the value for EmploymentStatus to be an explicit nil

func (*CreateEmployeeRequest) SetEmploymentType

func (o *CreateEmployeeRequest) SetEmploymentType(v string)

SetEmploymentType gets a reference to the given NullableString and assigns it to the EmploymentType field.

func (*CreateEmployeeRequest) SetEmploymentTypeNil

func (o *CreateEmployeeRequest) SetEmploymentTypeNil()

SetEmploymentTypeNil sets the value for EmploymentType to be an explicit nil

func (*CreateEmployeeRequest) SetEmployments

func (o *CreateEmployeeRequest) SetEmployments(v []EmploymentNoNullEnumRequest)

SetEmployments gets a reference to the given []EmploymentNoNullEnumRequest and assigns it to the Employments field.

func (*CreateEmployeeRequest) SetEthnicity

func (o *CreateEmployeeRequest) SetEthnicity(v string)

SetEthnicity gets a reference to the given NullableString and assigns it to the Ethnicity field.

func (*CreateEmployeeRequest) SetEthnicityNil

func (o *CreateEmployeeRequest) SetEthnicityNil()

SetEthnicityNil sets the value for Ethnicity to be an explicit nil

func (*CreateEmployeeRequest) SetFirstName

func (o *CreateEmployeeRequest) SetFirstName(v string)

SetFirstName sets field value

func (*CreateEmployeeRequest) SetGender

func (o *CreateEmployeeRequest) SetGender(v string)

SetGender gets a reference to the given NullableString and assigns it to the Gender field.

func (*CreateEmployeeRequest) SetGenderNil

func (o *CreateEmployeeRequest) SetGenderNil()

SetGenderNil sets the value for Gender to be an explicit nil

func (*CreateEmployeeRequest) SetGroups

SetGroups gets a reference to the given []GroupNoNullEnumRequest and assigns it to the Groups field.

func (*CreateEmployeeRequest) SetHomeLocation

func (o *CreateEmployeeRequest) SetHomeLocation(v AddressNoNonNullRequest)

SetHomeLocation gets a reference to the given NullableAddressNoNonNullRequest and assigns it to the HomeLocation field.

func (*CreateEmployeeRequest) SetHomeLocationNil

func (o *CreateEmployeeRequest) SetHomeLocationNil()

SetHomeLocationNil sets the value for HomeLocation to be an explicit nil

func (*CreateEmployeeRequest) SetJobTitle

func (o *CreateEmployeeRequest) SetJobTitle(v string)

SetJobTitle gets a reference to the given NullableString and assigns it to the JobTitle field.

func (*CreateEmployeeRequest) SetJobTitleNil

func (o *CreateEmployeeRequest) SetJobTitleNil()

SetJobTitleNil sets the value for JobTitle to be an explicit nil

func (*CreateEmployeeRequest) SetLastName

func (o *CreateEmployeeRequest) SetLastName(v string)

SetLastName sets field value

func (*CreateEmployeeRequest) SetManager

SetManager gets a reference to the given NullableCreateEmployeeRequestManager and assigns it to the Manager field.

func (*CreateEmployeeRequest) SetManagerNil

func (o *CreateEmployeeRequest) SetManagerNil()

SetManagerNil sets the value for Manager to be an explicit nil

func (*CreateEmployeeRequest) SetMaritalStatus

func (o *CreateEmployeeRequest) SetMaritalStatus(v string)

SetMaritalStatus gets a reference to the given NullableString and assigns it to the MaritalStatus field.

func (*CreateEmployeeRequest) SetMaritalStatusNil

func (o *CreateEmployeeRequest) SetMaritalStatusNil()

SetMaritalStatusNil sets the value for MaritalStatus to be an explicit nil

func (*CreateEmployeeRequest) SetMobilePhoneNumber

func (o *CreateEmployeeRequest) SetMobilePhoneNumber(v string)

SetMobilePhoneNumber gets a reference to the given NullableString and assigns it to the MobilePhoneNumber field.

func (*CreateEmployeeRequest) SetMobilePhoneNumberNil

func (o *CreateEmployeeRequest) SetMobilePhoneNumberNil()

SetMobilePhoneNumberNil sets the value for MobilePhoneNumber to be an explicit nil

func (*CreateEmployeeRequest) SetNationality

func (o *CreateEmployeeRequest) SetNationality(v string)

SetNationality gets a reference to the given NullableString and assigns it to the Nationality field.

func (*CreateEmployeeRequest) SetNationalityNil

func (o *CreateEmployeeRequest) SetNationalityNil()

SetNationalityNil sets the value for Nationality to be an explicit nil

func (*CreateEmployeeRequest) SetPersonalEmail

func (o *CreateEmployeeRequest) SetPersonalEmail(v string)

SetPersonalEmail gets a reference to the given NullableString and assigns it to the PersonalEmail field.

func (*CreateEmployeeRequest) SetPersonalEmailNil

func (o *CreateEmployeeRequest) SetPersonalEmailNil()

SetPersonalEmailNil sets the value for PersonalEmail to be an explicit nil

func (*CreateEmployeeRequest) SetStartDate

func (o *CreateEmployeeRequest) SetStartDate(v string)

SetStartDate gets a reference to the given NullableString and assigns it to the StartDate field.

func (*CreateEmployeeRequest) SetStartDateNil

func (o *CreateEmployeeRequest) SetStartDateNil()

SetStartDateNil sets the value for StartDate to be an explicit nil

func (*CreateEmployeeRequest) SetTaxId

func (o *CreateEmployeeRequest) SetTaxId(v string)

SetTaxId gets a reference to the given NullableString and assigns it to the TaxId field.

func (*CreateEmployeeRequest) SetTaxIdNil

func (o *CreateEmployeeRequest) SetTaxIdNil()

SetTaxIdNil sets the value for TaxId to be an explicit nil

func (*CreateEmployeeRequest) SetTerminationDate

func (o *CreateEmployeeRequest) SetTerminationDate(v string)

SetTerminationDate gets a reference to the given NullableString and assigns it to the TerminationDate field.

func (*CreateEmployeeRequest) SetTerminationDateNil

func (o *CreateEmployeeRequest) SetTerminationDateNil()

SetTerminationDateNil sets the value for TerminationDate to be an explicit nil

func (*CreateEmployeeRequest) SetWorkEmail

func (o *CreateEmployeeRequest) SetWorkEmail(v string)

SetWorkEmail gets a reference to the given NullableString and assigns it to the WorkEmail field.

func (*CreateEmployeeRequest) SetWorkEmailNil

func (o *CreateEmployeeRequest) SetWorkEmailNil()

SetWorkEmailNil sets the value for WorkEmail to be an explicit nil

func (*CreateEmployeeRequest) SetWorkLocation

func (o *CreateEmployeeRequest) SetWorkLocation(v LocationNoNonNullRequest)

SetWorkLocation gets a reference to the given NullableLocationNoNonNullRequest and assigns it to the WorkLocation field.

func (*CreateEmployeeRequest) SetWorkLocationNil

func (o *CreateEmployeeRequest) SetWorkLocationNil()

SetWorkLocationNil sets the value for WorkLocation to be an explicit nil

func (*CreateEmployeeRequest) UnsetAvatar

func (o *CreateEmployeeRequest) UnsetAvatar()

UnsetAvatar ensures that no value is present for Avatar, not even an explicit nil

func (*CreateEmployeeRequest) UnsetBankAccount

func (o *CreateEmployeeRequest) UnsetBankAccount()

UnsetBankAccount ensures that no value is present for BankAccount, not even an explicit nil

func (*CreateEmployeeRequest) UnsetDateOfBirth

func (o *CreateEmployeeRequest) UnsetDateOfBirth()

UnsetDateOfBirth ensures that no value is present for DateOfBirth, not even an explicit nil

func (*CreateEmployeeRequest) UnsetDisplayFullName

func (o *CreateEmployeeRequest) UnsetDisplayFullName()

UnsetDisplayFullName ensures that no value is present for DisplayFullName, not even an explicit nil

func (*CreateEmployeeRequest) UnsetEmployeeNumber

func (o *CreateEmployeeRequest) UnsetEmployeeNumber()

UnsetEmployeeNumber ensures that no value is present for EmployeeNumber, not even an explicit nil

func (*CreateEmployeeRequest) UnsetEmploymentStatus

func (o *CreateEmployeeRequest) UnsetEmploymentStatus()

UnsetEmploymentStatus ensures that no value is present for EmploymentStatus, not even an explicit nil

func (*CreateEmployeeRequest) UnsetEmploymentType

func (o *CreateEmployeeRequest) UnsetEmploymentType()

UnsetEmploymentType ensures that no value is present for EmploymentType, not even an explicit nil

func (*CreateEmployeeRequest) UnsetEthnicity

func (o *CreateEmployeeRequest) UnsetEthnicity()

UnsetEthnicity ensures that no value is present for Ethnicity, not even an explicit nil

func (*CreateEmployeeRequest) UnsetGender

func (o *CreateEmployeeRequest) UnsetGender()

UnsetGender ensures that no value is present for Gender, not even an explicit nil

func (*CreateEmployeeRequest) UnsetHomeLocation

func (o *CreateEmployeeRequest) UnsetHomeLocation()

UnsetHomeLocation ensures that no value is present for HomeLocation, not even an explicit nil

func (*CreateEmployeeRequest) UnsetJobTitle

func (o *CreateEmployeeRequest) UnsetJobTitle()

UnsetJobTitle ensures that no value is present for JobTitle, not even an explicit nil

func (*CreateEmployeeRequest) UnsetManager

func (o *CreateEmployeeRequest) UnsetManager()

UnsetManager ensures that no value is present for Manager, not even an explicit nil

func (*CreateEmployeeRequest) UnsetMaritalStatus

func (o *CreateEmployeeRequest) UnsetMaritalStatus()

UnsetMaritalStatus ensures that no value is present for MaritalStatus, not even an explicit nil

func (*CreateEmployeeRequest) UnsetMobilePhoneNumber

func (o *CreateEmployeeRequest) UnsetMobilePhoneNumber()

UnsetMobilePhoneNumber ensures that no value is present for MobilePhoneNumber, not even an explicit nil

func (*CreateEmployeeRequest) UnsetNationality

func (o *CreateEmployeeRequest) UnsetNationality()

UnsetNationality ensures that no value is present for Nationality, not even an explicit nil

func (*CreateEmployeeRequest) UnsetPersonalEmail

func (o *CreateEmployeeRequest) UnsetPersonalEmail()

UnsetPersonalEmail ensures that no value is present for PersonalEmail, not even an explicit nil

func (*CreateEmployeeRequest) UnsetStartDate

func (o *CreateEmployeeRequest) UnsetStartDate()

UnsetStartDate ensures that no value is present for StartDate, not even an explicit nil

func (*CreateEmployeeRequest) UnsetTaxId

func (o *CreateEmployeeRequest) UnsetTaxId()

UnsetTaxId ensures that no value is present for TaxId, not even an explicit nil

func (*CreateEmployeeRequest) UnsetTerminationDate

func (o *CreateEmployeeRequest) UnsetTerminationDate()

UnsetTerminationDate ensures that no value is present for TerminationDate, not even an explicit nil

func (*CreateEmployeeRequest) UnsetWorkEmail

func (o *CreateEmployeeRequest) UnsetWorkEmail()

UnsetWorkEmail ensures that no value is present for WorkEmail, not even an explicit nil

func (*CreateEmployeeRequest) UnsetWorkLocation

func (o *CreateEmployeeRequest) UnsetWorkLocation()

UnsetWorkLocation ensures that no value is present for WorkLocation, not even an explicit nil

type CreateEmployeeRequestBankAccount

type CreateEmployeeRequestBankAccount struct {
	AccountNumber NullableString `json:"account_number"`
	BankName      NullableString `json:"bank_name"`
	Bic           NullableString `json:"bic"`
	HolderName    NullableString `json:"holder_name"`
	Iban          NullableString `json:"iban"`
}

CreateEmployeeRequestBankAccount struct for CreateEmployeeRequestBankAccount

func NewCreateEmployeeRequestBankAccount

func NewCreateEmployeeRequestBankAccount(accountNumber NullableString, bankName NullableString, bic NullableString, holderName NullableString, iban NullableString) *CreateEmployeeRequestBankAccount

NewCreateEmployeeRequestBankAccount instantiates a new CreateEmployeeRequestBankAccount 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 NewCreateEmployeeRequestBankAccountWithDefaults

func NewCreateEmployeeRequestBankAccountWithDefaults() *CreateEmployeeRequestBankAccount

NewCreateEmployeeRequestBankAccountWithDefaults instantiates a new CreateEmployeeRequestBankAccount 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 (*CreateEmployeeRequestBankAccount) GetAccountNumber

func (o *CreateEmployeeRequestBankAccount) GetAccountNumber() string

GetAccountNumber returns the AccountNumber field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestBankAccount) GetAccountNumberOk

func (o *CreateEmployeeRequestBankAccount) GetAccountNumberOk() (*string, bool)

GetAccountNumberOk returns a tuple with the AccountNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestBankAccount) GetBankName

func (o *CreateEmployeeRequestBankAccount) GetBankName() string

GetBankName returns the BankName field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestBankAccount) GetBankNameOk

func (o *CreateEmployeeRequestBankAccount) GetBankNameOk() (*string, bool)

GetBankNameOk returns a tuple with the BankName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestBankAccount) GetBic

GetBic returns the Bic field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestBankAccount) GetBicOk

func (o *CreateEmployeeRequestBankAccount) GetBicOk() (*string, bool)

GetBicOk returns a tuple with the Bic field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestBankAccount) GetHolderName

func (o *CreateEmployeeRequestBankAccount) GetHolderName() string

GetHolderName returns the HolderName field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestBankAccount) GetHolderNameOk

func (o *CreateEmployeeRequestBankAccount) GetHolderNameOk() (*string, bool)

GetHolderNameOk returns a tuple with the HolderName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestBankAccount) GetIban

GetIban returns the Iban field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestBankAccount) GetIbanOk

func (o *CreateEmployeeRequestBankAccount) GetIbanOk() (*string, bool)

GetIbanOk returns a tuple with the Iban field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (CreateEmployeeRequestBankAccount) MarshalJSON

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

func (*CreateEmployeeRequestBankAccount) SetAccountNumber

func (o *CreateEmployeeRequestBankAccount) SetAccountNumber(v string)

SetAccountNumber sets field value

func (*CreateEmployeeRequestBankAccount) SetBankName

func (o *CreateEmployeeRequestBankAccount) SetBankName(v string)

SetBankName sets field value

func (*CreateEmployeeRequestBankAccount) SetBic

SetBic sets field value

func (*CreateEmployeeRequestBankAccount) SetHolderName

func (o *CreateEmployeeRequestBankAccount) SetHolderName(v string)

SetHolderName sets field value

func (*CreateEmployeeRequestBankAccount) SetIban

SetIban sets field value

type CreateEmployeeRequestDependents added in v1.1.61

type CreateEmployeeRequestDependents struct {
	Name         NullableString `json:"name"`
	Relationship NullableString `json:"relationship"`
}

CreateEmployeeRequestDependents struct for CreateEmployeeRequestDependents

func NewCreateEmployeeRequestDependents added in v1.1.61

func NewCreateEmployeeRequestDependents(name NullableString, relationship NullableString) *CreateEmployeeRequestDependents

NewCreateEmployeeRequestDependents instantiates a new CreateEmployeeRequestDependents 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 NewCreateEmployeeRequestDependentsWithDefaults added in v1.1.61

func NewCreateEmployeeRequestDependentsWithDefaults() *CreateEmployeeRequestDependents

NewCreateEmployeeRequestDependentsWithDefaults instantiates a new CreateEmployeeRequestDependents 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 (*CreateEmployeeRequestDependents) GetName added in v1.1.61

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestDependents) GetNameOk added in v1.1.61

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestDependents) GetRelationship added in v1.1.61

func (o *CreateEmployeeRequestDependents) GetRelationship() string

GetRelationship returns the Relationship field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestDependents) GetRelationshipOk added in v1.1.61

func (o *CreateEmployeeRequestDependents) GetRelationshipOk() (*string, bool)

GetRelationshipOk returns a tuple with the Relationship field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (CreateEmployeeRequestDependents) MarshalJSON added in v1.1.61

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

func (*CreateEmployeeRequestDependents) SetName added in v1.1.61

SetName sets field value

func (*CreateEmployeeRequestDependents) SetRelationship added in v1.1.61

func (o *CreateEmployeeRequestDependents) SetRelationship(v string)

SetRelationship sets field value

type CreateEmployeeRequestEmergencyContacts added in v1.1.61

type CreateEmployeeRequestEmergencyContacts struct {
	FirstName         NullableString `json:"first_name"`
	LastName          NullableString `json:"last_name"`
	Relationship      NullableString `json:"relationship"`
	MobilePhoneNumber NullableString `json:"mobile_phone_number"`
	PrimaryContact    NullableBool   `json:"primary_contact"`
}

CreateEmployeeRequestEmergencyContacts struct for CreateEmployeeRequestEmergencyContacts

func NewCreateEmployeeRequestEmergencyContacts added in v1.1.61

func NewCreateEmployeeRequestEmergencyContacts(firstName NullableString, lastName NullableString, relationship NullableString, mobilePhoneNumber NullableString, primaryContact NullableBool) *CreateEmployeeRequestEmergencyContacts

NewCreateEmployeeRequestEmergencyContacts instantiates a new CreateEmployeeRequestEmergencyContacts 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 NewCreateEmployeeRequestEmergencyContactsWithDefaults added in v1.1.61

func NewCreateEmployeeRequestEmergencyContactsWithDefaults() *CreateEmployeeRequestEmergencyContacts

NewCreateEmployeeRequestEmergencyContactsWithDefaults instantiates a new CreateEmployeeRequestEmergencyContacts 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 (*CreateEmployeeRequestEmergencyContacts) GetFirstName added in v1.1.61

GetFirstName returns the FirstName field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetFirstNameOk added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetLastName added in v1.1.61

GetLastName returns the LastName field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetLastNameOk added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetMobilePhoneNumber added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetMobilePhoneNumber() string

GetMobilePhoneNumber returns the MobilePhoneNumber field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetMobilePhoneNumberOk added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetMobilePhoneNumberOk() (*string, bool)

GetMobilePhoneNumberOk returns a tuple with the MobilePhoneNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetPrimaryContact added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetPrimaryContact() bool

GetPrimaryContact returns the PrimaryContact field value If the value is explicit nil, the zero value for bool will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetPrimaryContactOk added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetPrimaryContactOk() (*bool, bool)

GetPrimaryContactOk returns a tuple with the PrimaryContact field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetRelationship added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetRelationship() string

GetRelationship returns the Relationship field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestEmergencyContacts) GetRelationshipOk added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) GetRelationshipOk() (*string, bool)

GetRelationshipOk returns a tuple with the Relationship field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (CreateEmployeeRequestEmergencyContacts) MarshalJSON added in v1.1.61

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

func (*CreateEmployeeRequestEmergencyContacts) SetFirstName added in v1.1.61

SetFirstName sets field value

func (*CreateEmployeeRequestEmergencyContacts) SetLastName added in v1.1.61

SetLastName sets field value

func (*CreateEmployeeRequestEmergencyContacts) SetMobilePhoneNumber added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) SetMobilePhoneNumber(v string)

SetMobilePhoneNumber sets field value

func (*CreateEmployeeRequestEmergencyContacts) SetPrimaryContact added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) SetPrimaryContact(v bool)

SetPrimaryContact sets field value

func (*CreateEmployeeRequestEmergencyContacts) SetRelationship added in v1.1.61

func (o *CreateEmployeeRequestEmergencyContacts) SetRelationship(v string)

SetRelationship sets field value

type CreateEmployeeRequestManager

type CreateEmployeeRequestManager struct {
	FirstName NullableString `json:"first_name"`
	LastName  NullableString `json:"last_name"`
	Id        string         `json:"id"`
	WorkEmail NullableString `json:"work_email"`
	RemoteId  NullableString `json:"remote_id"`
}

CreateEmployeeRequestManager struct for CreateEmployeeRequestManager

func NewCreateEmployeeRequestManager

func NewCreateEmployeeRequestManager(firstName NullableString, lastName NullableString, id string, workEmail NullableString, remoteId NullableString) *CreateEmployeeRequestManager

NewCreateEmployeeRequestManager instantiates a new CreateEmployeeRequestManager 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 NewCreateEmployeeRequestManagerWithDefaults

func NewCreateEmployeeRequestManagerWithDefaults() *CreateEmployeeRequestManager

NewCreateEmployeeRequestManagerWithDefaults instantiates a new CreateEmployeeRequestManager 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 (*CreateEmployeeRequestManager) GetFirstName

func (o *CreateEmployeeRequestManager) GetFirstName() string

GetFirstName returns the FirstName field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestManager) GetFirstNameOk

func (o *CreateEmployeeRequestManager) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestManager) GetId

GetId returns the Id field value

func (*CreateEmployeeRequestManager) GetIdOk

func (o *CreateEmployeeRequestManager) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*CreateEmployeeRequestManager) GetLastName

func (o *CreateEmployeeRequestManager) GetLastName() string

GetLastName returns the LastName field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestManager) GetLastNameOk

func (o *CreateEmployeeRequestManager) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestManager) GetRemoteId

func (o *CreateEmployeeRequestManager) GetRemoteId() string

GetRemoteId returns the RemoteId field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestManager) GetRemoteIdOk

func (o *CreateEmployeeRequestManager) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateEmployeeRequestManager) GetWorkEmail

func (o *CreateEmployeeRequestManager) GetWorkEmail() string

GetWorkEmail returns the WorkEmail field value If the value is explicit nil, the zero value for string will be returned

func (*CreateEmployeeRequestManager) GetWorkEmailOk

func (o *CreateEmployeeRequestManager) GetWorkEmailOk() (*string, bool)

GetWorkEmailOk returns a tuple with the WorkEmail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (CreateEmployeeRequestManager) MarshalJSON

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

func (*CreateEmployeeRequestManager) SetFirstName

func (o *CreateEmployeeRequestManager) SetFirstName(v string)

SetFirstName sets field value

func (*CreateEmployeeRequestManager) SetId

SetId sets field value

func (*CreateEmployeeRequestManager) SetLastName

func (o *CreateEmployeeRequestManager) SetLastName(v string)

SetLastName sets field value

func (*CreateEmployeeRequestManager) SetRemoteId

func (o *CreateEmployeeRequestManager) SetRemoteId(v string)

SetRemoteId sets field value

func (*CreateEmployeeRequestManager) SetWorkEmail

func (o *CreateEmployeeRequestManager) SetWorkEmail(v string)

SetWorkEmail sets field value

type CurrencyNotNullRequest added in v1.1.26

type CurrencyNotNullRequest string

CurrencyNotNullRequest the model 'CurrencyNotNullRequest'

const (
	USD CurrencyNotNullRequest = "usd"
	GBP CurrencyNotNullRequest = "gbp"
	EUR CurrencyNotNullRequest = "eur"
)

List of currency-not-nullRequest

func NewCurrencyNotNullRequestFromValue added in v1.1.26

func NewCurrencyNotNullRequestFromValue(v string) (*CurrencyNotNullRequest, error)

NewCurrencyNotNullRequestFromValue returns a pointer to a valid CurrencyNotNullRequest for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CurrencyNotNullRequest) IsValid added in v1.1.26

func (v CurrencyNotNullRequest) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CurrencyNotNullRequest) Ptr added in v1.1.26

Ptr returns reference to currency-not-nullRequest value

func (*CurrencyNotNullRequest) UnmarshalJSON added in v1.1.26

func (v *CurrencyNotNullRequest) UnmarshalJSON(src []byte) error

type CurrencyResponse

type CurrencyResponse string

CurrencyResponse the model 'CurrencyResponse'

const (
	NULL CurrencyResponse = "null"
	USD  CurrencyResponse = "usd"
	GBP  CurrencyResponse = "gbp"
	EUR  CurrencyResponse = "eur"
)

List of CurrencyResponse

func NewCurrencyResponseFromValue

func NewCurrencyResponseFromValue(v string) (*CurrencyResponse, error)

NewCurrencyResponseFromValue returns a pointer to a valid CurrencyResponse for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CurrencyResponse) IsValid

func (v CurrencyResponse) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (CurrencyResponse) Ptr

Ptr returns reference to CurrencyResponse value

func (*CurrencyResponse) UnmarshalJSON

func (v *CurrencyResponse) UnmarshalJSON(src []byte) error

type DisconnectResponse

type DisconnectResponse struct {
	// The access token has been disconnected and is no longer allowed to be used by your application
	Disconnected bool `json:"disconnected"`
}

DisconnectResponse struct for DisconnectResponse

func NewDisconnectResponse

func NewDisconnectResponse(disconnected bool) *DisconnectResponse

NewDisconnectResponse instantiates a new DisconnectResponse 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 NewDisconnectResponseWithDefaults

func NewDisconnectResponseWithDefaults() *DisconnectResponse

NewDisconnectResponseWithDefaults instantiates a new DisconnectResponse 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 (*DisconnectResponse) GetDisconnected

func (o *DisconnectResponse) GetDisconnected() bool

GetDisconnected returns the Disconnected field value

func (*DisconnectResponse) GetDisconnectedOk

func (o *DisconnectResponse) GetDisconnectedOk() (*bool, bool)

GetDisconnectedOk returns a tuple with the Disconnected field value and a boolean to check if the value has been set.

func (DisconnectResponse) MarshalJSON

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

func (*DisconnectResponse) SetDisconnected

func (o *DisconnectResponse) SetDisconnected(v bool)

SetDisconnected sets field value

type EmployeeResponse

type EmployeeResponse struct {
	// The Affix-assigned id of the individual
	Id string `json:"id"`
	// the remote system-assigned id of the individual
	RemoteId       string         `json:"remote_id"`
	EmployeeNumber NullableString `json:"employee_number"`
	// the first name of the individual
	FirstName string `json:"first_name"`
	// the last name of the individual
	LastName        string         `json:"last_name"`
	DisplayFullName NullableString `json:"display_full_name"`
	Nationality     NullableString `json:"nationality"`
	JobTitle        NullableString `json:"job_title"`
	// the work email of the individual
	WorkEmail NullableString `json:"work_email"`
	// the personal email of the individual
	PersonalEmail NullableString `json:"personal_email"`
	// +1234567890
	MobilePhoneNumber NullableString `json:"mobile_phone_number"`
	TaxId             NullableString `json:"tax_id"`
	Gender            NullableString `json:"gender"`
	Ethnicity         NullableString `json:"ethnicity"`
	// `other` option can include co-habitating, civil partnership, separated, divorced, widowed, etc
	MaritalStatus     NullableString                           `json:"marital_status"`
	DateOfBirth       NullableString                           `json:"date_of_birth"`
	EmploymentStatus  NullableEmploymentStatusResponse         `json:"employment_status"`
	EmploymentType    NullableString                           `json:"employment_type"`
	StartDate         NullableString                           `json:"start_date"`
	RemoteCreatedAt   NullableString                           `json:"remote_created_at"`
	TerminationDate   NullableString                           `json:"termination_date"`
	Avatar            NullableString                           `json:"avatar"`
	HomeLocation      NullableAddressResponse                  `json:"home_location"`
	WorkLocation      NullableLocationResponse                 `json:"work_location"`
	Manager           NullableEmployeeResponseManager          `json:"manager"`
	BankAccount       NullableCreateEmployeeRequestBankAccount `json:"bank_account"`
	Employments       []EmploymentResponse                     `json:"employments"`
	CustomFields      map[string]interface{}                   `json:"custom_fields"`
	Groups            []GroupResponse                          `json:"groups"`
	Dependents        []CreateEmployeeRequestDependents        `json:"dependents"`
	EmergencyContacts []CreateEmployeeRequestEmergencyContacts `json:"emergency_contacts"`
}

EmployeeResponse struct for EmployeeResponse

func NewEmployeeResponse

func NewEmployeeResponse(id string, remoteId string, employeeNumber NullableString, firstName string, lastName string, displayFullName NullableString, nationality NullableString, jobTitle NullableString, workEmail NullableString, personalEmail NullableString, mobilePhoneNumber NullableString, taxId NullableString, gender NullableString, ethnicity NullableString, maritalStatus NullableString, dateOfBirth NullableString, employmentStatus NullableEmploymentStatusResponse, employmentType NullableString, startDate NullableString, remoteCreatedAt NullableString, terminationDate NullableString, avatar NullableString, homeLocation NullableAddressResponse, workLocation NullableLocationResponse, manager NullableEmployeeResponseManager, bankAccount NullableCreateEmployeeRequestBankAccount, employments []EmploymentResponse, customFields map[string]interface{}, groups []GroupResponse, dependents []CreateEmployeeRequestDependents, emergencyContacts []CreateEmployeeRequestEmergencyContacts) *EmployeeResponse

NewEmployeeResponse instantiates a new EmployeeResponse 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 NewEmployeeResponseWithDefaults

func NewEmployeeResponseWithDefaults() *EmployeeResponse

NewEmployeeResponseWithDefaults instantiates a new EmployeeResponse 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 (*EmployeeResponse) GetAvatar

func (o *EmployeeResponse) GetAvatar() string

GetAvatar returns the Avatar field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetAvatarOk

func (o *EmployeeResponse) GetAvatarOk() (*string, bool)

GetAvatarOk returns a tuple with the Avatar field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetBankAccount

GetBankAccount returns the BankAccount field value If the value is explicit nil, the zero value for CreateEmployeeRequestBankAccount will be returned

func (*EmployeeResponse) GetBankAccountOk

func (o *EmployeeResponse) GetBankAccountOk() (*CreateEmployeeRequestBankAccount, bool)

GetBankAccountOk returns a tuple with the BankAccount field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetCustomFields

func (o *EmployeeResponse) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*EmployeeResponse) GetCustomFieldsOk

func (o *EmployeeResponse) GetCustomFieldsOk() (*map[string]interface{}, bool)

GetCustomFieldsOk returns a tuple with the CustomFields field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetDateOfBirth

func (o *EmployeeResponse) GetDateOfBirth() string

GetDateOfBirth returns the DateOfBirth field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetDateOfBirthOk

func (o *EmployeeResponse) GetDateOfBirthOk() (*string, bool)

GetDateOfBirthOk returns a tuple with the DateOfBirth field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetDependents added in v1.1.61

GetDependents returns the Dependents field value If the value is explicit nil, the zero value for []CreateEmployeeRequestDependents will be returned

func (*EmployeeResponse) GetDependentsOk added in v1.1.61

func (o *EmployeeResponse) GetDependentsOk() (*[]CreateEmployeeRequestDependents, bool)

GetDependentsOk returns a tuple with the Dependents field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetDisplayFullName

func (o *EmployeeResponse) GetDisplayFullName() string

GetDisplayFullName returns the DisplayFullName field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetDisplayFullNameOk

func (o *EmployeeResponse) GetDisplayFullNameOk() (*string, bool)

GetDisplayFullNameOk returns a tuple with the DisplayFullName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetEmergencyContacts added in v1.1.61

func (o *EmployeeResponse) GetEmergencyContacts() []CreateEmployeeRequestEmergencyContacts

GetEmergencyContacts returns the EmergencyContacts field value If the value is explicit nil, the zero value for []CreateEmployeeRequestEmergencyContacts will be returned

func (*EmployeeResponse) GetEmergencyContactsOk added in v1.1.61

func (o *EmployeeResponse) GetEmergencyContactsOk() (*[]CreateEmployeeRequestEmergencyContacts, bool)

GetEmergencyContactsOk returns a tuple with the EmergencyContacts field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetEmployeeNumber

func (o *EmployeeResponse) GetEmployeeNumber() string

GetEmployeeNumber returns the EmployeeNumber field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetEmployeeNumberOk

func (o *EmployeeResponse) GetEmployeeNumberOk() (*string, bool)

GetEmployeeNumberOk returns a tuple with the EmployeeNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetEmploymentStatus

func (o *EmployeeResponse) GetEmploymentStatus() EmploymentStatusResponse

GetEmploymentStatus returns the EmploymentStatus field value If the value is explicit nil, the zero value for EmploymentStatusResponse will be returned

func (*EmployeeResponse) GetEmploymentStatusOk

func (o *EmployeeResponse) GetEmploymentStatusOk() (*EmploymentStatusResponse, bool)

GetEmploymentStatusOk returns a tuple with the EmploymentStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetEmploymentType

func (o *EmployeeResponse) GetEmploymentType() string

GetEmploymentType returns the EmploymentType field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetEmploymentTypeOk

func (o *EmployeeResponse) GetEmploymentTypeOk() (*string, bool)

GetEmploymentTypeOk returns a tuple with the EmploymentType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetEmployments

func (o *EmployeeResponse) GetEmployments() []EmploymentResponse

GetEmployments returns the Employments field value If the value is explicit nil, the zero value for []EmploymentResponse will be returned

func (*EmployeeResponse) GetEmploymentsOk

func (o *EmployeeResponse) GetEmploymentsOk() (*[]EmploymentResponse, bool)

GetEmploymentsOk returns a tuple with the Employments field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetEthnicity

func (o *EmployeeResponse) GetEthnicity() string

GetEthnicity returns the Ethnicity field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetEthnicityOk

func (o *EmployeeResponse) GetEthnicityOk() (*string, bool)

GetEthnicityOk returns a tuple with the Ethnicity field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetFirstName

func (o *EmployeeResponse) GetFirstName() string

GetFirstName returns the FirstName field value

func (*EmployeeResponse) GetFirstNameOk

func (o *EmployeeResponse) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set.

func (*EmployeeResponse) GetGender

func (o *EmployeeResponse) GetGender() string

GetGender returns the Gender field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetGenderOk

func (o *EmployeeResponse) GetGenderOk() (*string, bool)

GetGenderOk returns a tuple with the Gender field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetGroups

func (o *EmployeeResponse) GetGroups() []GroupResponse

GetGroups returns the Groups field value If the value is explicit nil, the zero value for []GroupResponse will be returned

func (*EmployeeResponse) GetGroupsOk

func (o *EmployeeResponse) GetGroupsOk() (*[]GroupResponse, bool)

GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetHomeLocation

func (o *EmployeeResponse) GetHomeLocation() AddressResponse

GetHomeLocation returns the HomeLocation field value If the value is explicit nil, the zero value for AddressResponse will be returned

func (*EmployeeResponse) GetHomeLocationOk

func (o *EmployeeResponse) GetHomeLocationOk() (*AddressResponse, bool)

GetHomeLocationOk returns a tuple with the HomeLocation field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetId

func (o *EmployeeResponse) GetId() string

GetId returns the Id field value

func (*EmployeeResponse) GetIdOk

func (o *EmployeeResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*EmployeeResponse) GetJobTitle

func (o *EmployeeResponse) GetJobTitle() string

GetJobTitle returns the JobTitle field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetJobTitleOk

func (o *EmployeeResponse) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetLastName

func (o *EmployeeResponse) GetLastName() string

GetLastName returns the LastName field value

func (*EmployeeResponse) GetLastNameOk

func (o *EmployeeResponse) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set.

func (*EmployeeResponse) GetManager

func (o *EmployeeResponse) GetManager() EmployeeResponseManager

GetManager returns the Manager field value If the value is explicit nil, the zero value for EmployeeResponseManager will be returned

func (*EmployeeResponse) GetManagerOk

func (o *EmployeeResponse) GetManagerOk() (*EmployeeResponseManager, bool)

GetManagerOk returns a tuple with the Manager field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetMaritalStatus

func (o *EmployeeResponse) GetMaritalStatus() string

GetMaritalStatus returns the MaritalStatus field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetMaritalStatusOk

func (o *EmployeeResponse) GetMaritalStatusOk() (*string, bool)

GetMaritalStatusOk returns a tuple with the MaritalStatus field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetMobilePhoneNumber

func (o *EmployeeResponse) GetMobilePhoneNumber() string

GetMobilePhoneNumber returns the MobilePhoneNumber field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetMobilePhoneNumberOk

func (o *EmployeeResponse) GetMobilePhoneNumberOk() (*string, bool)

GetMobilePhoneNumberOk returns a tuple with the MobilePhoneNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetNationality

func (o *EmployeeResponse) GetNationality() string

GetNationality returns the Nationality field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetNationalityOk

func (o *EmployeeResponse) GetNationalityOk() (*string, bool)

GetNationalityOk returns a tuple with the Nationality field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetPersonalEmail

func (o *EmployeeResponse) GetPersonalEmail() string

GetPersonalEmail returns the PersonalEmail field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetPersonalEmailOk

func (o *EmployeeResponse) GetPersonalEmailOk() (*string, bool)

GetPersonalEmailOk returns a tuple with the PersonalEmail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetRemoteCreatedAt

func (o *EmployeeResponse) GetRemoteCreatedAt() string

GetRemoteCreatedAt returns the RemoteCreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetRemoteCreatedAtOk

func (o *EmployeeResponse) GetRemoteCreatedAtOk() (*string, bool)

GetRemoteCreatedAtOk returns a tuple with the RemoteCreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetRemoteId

func (o *EmployeeResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*EmployeeResponse) GetRemoteIdOk

func (o *EmployeeResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*EmployeeResponse) GetStartDate

func (o *EmployeeResponse) GetStartDate() string

GetStartDate returns the StartDate field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetStartDateOk

func (o *EmployeeResponse) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetTaxId

func (o *EmployeeResponse) GetTaxId() string

GetTaxId returns the TaxId field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetTaxIdOk

func (o *EmployeeResponse) GetTaxIdOk() (*string, bool)

GetTaxIdOk returns a tuple with the TaxId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetTerminationDate

func (o *EmployeeResponse) GetTerminationDate() string

GetTerminationDate returns the TerminationDate field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetTerminationDateOk

func (o *EmployeeResponse) GetTerminationDateOk() (*string, bool)

GetTerminationDateOk returns a tuple with the TerminationDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetWorkEmail

func (o *EmployeeResponse) GetWorkEmail() string

GetWorkEmail returns the WorkEmail field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponse) GetWorkEmailOk

func (o *EmployeeResponse) GetWorkEmailOk() (*string, bool)

GetWorkEmailOk returns a tuple with the WorkEmail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponse) GetWorkLocation

func (o *EmployeeResponse) GetWorkLocation() LocationResponse

GetWorkLocation returns the WorkLocation field value If the value is explicit nil, the zero value for LocationResponse will be returned

func (*EmployeeResponse) GetWorkLocationOk

func (o *EmployeeResponse) GetWorkLocationOk() (*LocationResponse, bool)

GetWorkLocationOk returns a tuple with the WorkLocation field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (EmployeeResponse) MarshalJSON

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

func (*EmployeeResponse) SetAvatar

func (o *EmployeeResponse) SetAvatar(v string)

SetAvatar sets field value

func (*EmployeeResponse) SetBankAccount

SetBankAccount sets field value

func (*EmployeeResponse) SetCustomFields

func (o *EmployeeResponse) SetCustomFields(v map[string]interface{})

SetCustomFields sets field value

func (*EmployeeResponse) SetDateOfBirth

func (o *EmployeeResponse) SetDateOfBirth(v string)

SetDateOfBirth sets field value

func (*EmployeeResponse) SetDependents added in v1.1.61

func (o *EmployeeResponse) SetDependents(v []CreateEmployeeRequestDependents)

SetDependents sets field value

func (*EmployeeResponse) SetDisplayFullName

func (o *EmployeeResponse) SetDisplayFullName(v string)

SetDisplayFullName sets field value

func (*EmployeeResponse) SetEmergencyContacts added in v1.1.61

func (o *EmployeeResponse) SetEmergencyContacts(v []CreateEmployeeRequestEmergencyContacts)

SetEmergencyContacts sets field value

func (*EmployeeResponse) SetEmployeeNumber

func (o *EmployeeResponse) SetEmployeeNumber(v string)

SetEmployeeNumber sets field value

func (*EmployeeResponse) SetEmploymentStatus

func (o *EmployeeResponse) SetEmploymentStatus(v EmploymentStatusResponse)

SetEmploymentStatus sets field value

func (*EmployeeResponse) SetEmploymentType

func (o *EmployeeResponse) SetEmploymentType(v string)

SetEmploymentType sets field value

func (*EmployeeResponse) SetEmployments

func (o *EmployeeResponse) SetEmployments(v []EmploymentResponse)

SetEmployments sets field value

func (*EmployeeResponse) SetEthnicity

func (o *EmployeeResponse) SetEthnicity(v string)

SetEthnicity sets field value

func (*EmployeeResponse) SetFirstName

func (o *EmployeeResponse) SetFirstName(v string)

SetFirstName sets field value

func (*EmployeeResponse) SetGender

func (o *EmployeeResponse) SetGender(v string)

SetGender sets field value

func (*EmployeeResponse) SetGroups

func (o *EmployeeResponse) SetGroups(v []GroupResponse)

SetGroups sets field value

func (*EmployeeResponse) SetHomeLocation

func (o *EmployeeResponse) SetHomeLocation(v AddressResponse)

SetHomeLocation sets field value

func (*EmployeeResponse) SetId

func (o *EmployeeResponse) SetId(v string)

SetId sets field value

func (*EmployeeResponse) SetJobTitle

func (o *EmployeeResponse) SetJobTitle(v string)

SetJobTitle sets field value

func (*EmployeeResponse) SetLastName

func (o *EmployeeResponse) SetLastName(v string)

SetLastName sets field value

func (*EmployeeResponse) SetManager

func (o *EmployeeResponse) SetManager(v EmployeeResponseManager)

SetManager sets field value

func (*EmployeeResponse) SetMaritalStatus

func (o *EmployeeResponse) SetMaritalStatus(v string)

SetMaritalStatus sets field value

func (*EmployeeResponse) SetMobilePhoneNumber

func (o *EmployeeResponse) SetMobilePhoneNumber(v string)

SetMobilePhoneNumber sets field value

func (*EmployeeResponse) SetNationality

func (o *EmployeeResponse) SetNationality(v string)

SetNationality sets field value

func (*EmployeeResponse) SetPersonalEmail

func (o *EmployeeResponse) SetPersonalEmail(v string)

SetPersonalEmail sets field value

func (*EmployeeResponse) SetRemoteCreatedAt

func (o *EmployeeResponse) SetRemoteCreatedAt(v string)

SetRemoteCreatedAt sets field value

func (*EmployeeResponse) SetRemoteId

func (o *EmployeeResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*EmployeeResponse) SetStartDate

func (o *EmployeeResponse) SetStartDate(v string)

SetStartDate sets field value

func (*EmployeeResponse) SetTaxId

func (o *EmployeeResponse) SetTaxId(v string)

SetTaxId sets field value

func (*EmployeeResponse) SetTerminationDate

func (o *EmployeeResponse) SetTerminationDate(v string)

SetTerminationDate sets field value

func (*EmployeeResponse) SetWorkEmail

func (o *EmployeeResponse) SetWorkEmail(v string)

SetWorkEmail sets field value

func (*EmployeeResponse) SetWorkLocation

func (o *EmployeeResponse) SetWorkLocation(v LocationResponse)

SetWorkLocation sets field value

type EmployeeResponseManager added in v1.1.28

type EmployeeResponseManager struct {
	FirstName NullableString `json:"first_name"`
	LastName  NullableString `json:"last_name"`
	// the Affix-assigned ID of the individual. Nullable if the system only reports the name of the manager; not their ID
	Id        NullableString `json:"id"`
	WorkEmail NullableString `json:"work_email"`
	RemoteId  NullableString `json:"remote_id"`
}

EmployeeResponseManager struct for EmployeeResponseManager

func NewEmployeeResponseManager added in v1.1.28

func NewEmployeeResponseManager(firstName NullableString, lastName NullableString, id NullableString, workEmail NullableString, remoteId NullableString) *EmployeeResponseManager

NewEmployeeResponseManager instantiates a new EmployeeResponseManager 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 NewEmployeeResponseManagerWithDefaults added in v1.1.28

func NewEmployeeResponseManagerWithDefaults() *EmployeeResponseManager

NewEmployeeResponseManagerWithDefaults instantiates a new EmployeeResponseManager 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 (*EmployeeResponseManager) GetFirstName added in v1.1.28

func (o *EmployeeResponseManager) GetFirstName() string

GetFirstName returns the FirstName field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponseManager) GetFirstNameOk added in v1.1.28

func (o *EmployeeResponseManager) GetFirstNameOk() (*string, bool)

GetFirstNameOk returns a tuple with the FirstName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponseManager) GetId added in v1.1.28

func (o *EmployeeResponseManager) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponseManager) GetIdOk added in v1.1.28

func (o *EmployeeResponseManager) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponseManager) GetLastName added in v1.1.28

func (o *EmployeeResponseManager) GetLastName() string

GetLastName returns the LastName field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponseManager) GetLastNameOk added in v1.1.28

func (o *EmployeeResponseManager) GetLastNameOk() (*string, bool)

GetLastNameOk returns a tuple with the LastName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponseManager) GetRemoteId added in v1.1.28

func (o *EmployeeResponseManager) GetRemoteId() string

GetRemoteId returns the RemoteId field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponseManager) GetRemoteIdOk added in v1.1.28

func (o *EmployeeResponseManager) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmployeeResponseManager) GetWorkEmail added in v1.1.28

func (o *EmployeeResponseManager) GetWorkEmail() string

GetWorkEmail returns the WorkEmail field value If the value is explicit nil, the zero value for string will be returned

func (*EmployeeResponseManager) GetWorkEmailOk added in v1.1.28

func (o *EmployeeResponseManager) GetWorkEmailOk() (*string, bool)

GetWorkEmailOk returns a tuple with the WorkEmail field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (EmployeeResponseManager) MarshalJSON added in v1.1.28

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

func (*EmployeeResponseManager) SetFirstName added in v1.1.28

func (o *EmployeeResponseManager) SetFirstName(v string)

SetFirstName sets field value

func (*EmployeeResponseManager) SetId added in v1.1.28

func (o *EmployeeResponseManager) SetId(v string)

SetId sets field value

func (*EmployeeResponseManager) SetLastName added in v1.1.28

func (o *EmployeeResponseManager) SetLastName(v string)

SetLastName sets field value

func (*EmployeeResponseManager) SetRemoteId added in v1.1.28

func (o *EmployeeResponseManager) SetRemoteId(v string)

SetRemoteId sets field value

func (*EmployeeResponseManager) SetWorkEmail added in v1.1.28

func (o *EmployeeResponseManager) SetWorkEmail(v string)

SetWorkEmail sets field value

type EmploymentNoNullEnumRequest

type EmploymentNoNullEnumRequest struct {
	JobTitle       NullableString                 `json:"job_title"`
	PayRate        NullableFloat32                `json:"pay_rate"`
	PayPeriod      NullableString                 `json:"pay_period"`
	PayFrequency   NullableString                 `json:"pay_frequency"`
	EmploymentType NullableString                 `json:"employment_type"`
	Currency       NullableCurrencyNotNullRequest `json:"currency"`
	EffectiveDate  NullableString                 `json:"effective_date"`
}

EmploymentNoNullEnumRequest struct for EmploymentNoNullEnumRequest

func NewEmploymentNoNullEnumRequest

func NewEmploymentNoNullEnumRequest(jobTitle NullableString, payRate NullableFloat32, payPeriod NullableString, payFrequency NullableString, employmentType NullableString, currency NullableCurrencyNotNullRequest, effectiveDate NullableString) *EmploymentNoNullEnumRequest

NewEmploymentNoNullEnumRequest instantiates a new EmploymentNoNullEnumRequest 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 NewEmploymentNoNullEnumRequestWithDefaults

func NewEmploymentNoNullEnumRequestWithDefaults() *EmploymentNoNullEnumRequest

NewEmploymentNoNullEnumRequestWithDefaults instantiates a new EmploymentNoNullEnumRequest 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 (*EmploymentNoNullEnumRequest) GetCurrency

GetCurrency returns the Currency field value If the value is explicit nil, the zero value for CurrencyNotNullRequest will be returned

func (*EmploymentNoNullEnumRequest) GetCurrencyOk

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentNoNullEnumRequest) GetEffectiveDate

func (o *EmploymentNoNullEnumRequest) GetEffectiveDate() string

GetEffectiveDate returns the EffectiveDate field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentNoNullEnumRequest) GetEffectiveDateOk

func (o *EmploymentNoNullEnumRequest) GetEffectiveDateOk() (*string, bool)

GetEffectiveDateOk returns a tuple with the EffectiveDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentNoNullEnumRequest) GetEmploymentType

func (o *EmploymentNoNullEnumRequest) GetEmploymentType() string

GetEmploymentType returns the EmploymentType field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentNoNullEnumRequest) GetEmploymentTypeOk

func (o *EmploymentNoNullEnumRequest) GetEmploymentTypeOk() (*string, bool)

GetEmploymentTypeOk returns a tuple with the EmploymentType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentNoNullEnumRequest) GetJobTitle

func (o *EmploymentNoNullEnumRequest) GetJobTitle() string

GetJobTitle returns the JobTitle field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentNoNullEnumRequest) GetJobTitleOk

func (o *EmploymentNoNullEnumRequest) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentNoNullEnumRequest) GetPayFrequency

func (o *EmploymentNoNullEnumRequest) GetPayFrequency() string

GetPayFrequency returns the PayFrequency field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentNoNullEnumRequest) GetPayFrequencyOk

func (o *EmploymentNoNullEnumRequest) GetPayFrequencyOk() (*string, bool)

GetPayFrequencyOk returns a tuple with the PayFrequency field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentNoNullEnumRequest) GetPayPeriod

func (o *EmploymentNoNullEnumRequest) GetPayPeriod() string

GetPayPeriod returns the PayPeriod field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentNoNullEnumRequest) GetPayPeriodOk

func (o *EmploymentNoNullEnumRequest) GetPayPeriodOk() (*string, bool)

GetPayPeriodOk returns a tuple with the PayPeriod field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentNoNullEnumRequest) GetPayRate

func (o *EmploymentNoNullEnumRequest) GetPayRate() float32

GetPayRate returns the PayRate field value If the value is explicit nil, the zero value for float32 will be returned

func (*EmploymentNoNullEnumRequest) GetPayRateOk

func (o *EmploymentNoNullEnumRequest) GetPayRateOk() (*float32, bool)

GetPayRateOk returns a tuple with the PayRate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (EmploymentNoNullEnumRequest) MarshalJSON

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

func (*EmploymentNoNullEnumRequest) SetCurrency

SetCurrency sets field value

func (*EmploymentNoNullEnumRequest) SetEffectiveDate

func (o *EmploymentNoNullEnumRequest) SetEffectiveDate(v string)

SetEffectiveDate sets field value

func (*EmploymentNoNullEnumRequest) SetEmploymentType

func (o *EmploymentNoNullEnumRequest) SetEmploymentType(v string)

SetEmploymentType sets field value

func (*EmploymentNoNullEnumRequest) SetJobTitle

func (o *EmploymentNoNullEnumRequest) SetJobTitle(v string)

SetJobTitle sets field value

func (*EmploymentNoNullEnumRequest) SetPayFrequency

func (o *EmploymentNoNullEnumRequest) SetPayFrequency(v string)

SetPayFrequency sets field value

func (*EmploymentNoNullEnumRequest) SetPayPeriod

func (o *EmploymentNoNullEnumRequest) SetPayPeriod(v string)

SetPayPeriod sets field value

func (*EmploymentNoNullEnumRequest) SetPayRate

func (o *EmploymentNoNullEnumRequest) SetPayRate(v float32)

SetPayRate sets field value

type EmploymentResponse

type EmploymentResponse struct {
	JobTitle       NullableString           `json:"job_title"`
	PayRate        NullableFloat32          `json:"pay_rate"`
	PayPeriod      NullableString           `json:"pay_period"`
	PayFrequency   NullableString           `json:"pay_frequency"`
	EmploymentType NullableString           `json:"employment_type"`
	Currency       NullableCurrencyResponse `json:"currency"`
	EffectiveDate  NullableString           `json:"effective_date"`
}

EmploymentResponse struct for EmploymentResponse

func NewEmploymentResponse

func NewEmploymentResponse(jobTitle NullableString, payRate NullableFloat32, payPeriod NullableString, payFrequency NullableString, employmentType NullableString, currency NullableCurrencyResponse, effectiveDate NullableString) *EmploymentResponse

NewEmploymentResponse instantiates a new EmploymentResponse 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 NewEmploymentResponseWithDefaults

func NewEmploymentResponseWithDefaults() *EmploymentResponse

NewEmploymentResponseWithDefaults instantiates a new EmploymentResponse 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 (*EmploymentResponse) GetCurrency

func (o *EmploymentResponse) GetCurrency() CurrencyResponse

GetCurrency returns the Currency field value If the value is explicit nil, the zero value for CurrencyResponse will be returned

func (*EmploymentResponse) GetCurrencyOk

func (o *EmploymentResponse) GetCurrencyOk() (*CurrencyResponse, bool)

GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentResponse) GetEffectiveDate

func (o *EmploymentResponse) GetEffectiveDate() string

GetEffectiveDate returns the EffectiveDate field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentResponse) GetEffectiveDateOk

func (o *EmploymentResponse) GetEffectiveDateOk() (*string, bool)

GetEffectiveDateOk returns a tuple with the EffectiveDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentResponse) GetEmploymentType

func (o *EmploymentResponse) GetEmploymentType() string

GetEmploymentType returns the EmploymentType field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentResponse) GetEmploymentTypeOk

func (o *EmploymentResponse) GetEmploymentTypeOk() (*string, bool)

GetEmploymentTypeOk returns a tuple with the EmploymentType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentResponse) GetJobTitle

func (o *EmploymentResponse) GetJobTitle() string

GetJobTitle returns the JobTitle field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentResponse) GetJobTitleOk

func (o *EmploymentResponse) GetJobTitleOk() (*string, bool)

GetJobTitleOk returns a tuple with the JobTitle field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentResponse) GetPayFrequency

func (o *EmploymentResponse) GetPayFrequency() string

GetPayFrequency returns the PayFrequency field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentResponse) GetPayFrequencyOk

func (o *EmploymentResponse) GetPayFrequencyOk() (*string, bool)

GetPayFrequencyOk returns a tuple with the PayFrequency field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentResponse) GetPayPeriod

func (o *EmploymentResponse) GetPayPeriod() string

GetPayPeriod returns the PayPeriod field value If the value is explicit nil, the zero value for string will be returned

func (*EmploymentResponse) GetPayPeriodOk

func (o *EmploymentResponse) GetPayPeriodOk() (*string, bool)

GetPayPeriodOk returns a tuple with the PayPeriod field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*EmploymentResponse) GetPayRate

func (o *EmploymentResponse) GetPayRate() float32

GetPayRate returns the PayRate field value If the value is explicit nil, the zero value for float32 will be returned

func (*EmploymentResponse) GetPayRateOk

func (o *EmploymentResponse) GetPayRateOk() (*float32, bool)

GetPayRateOk returns a tuple with the PayRate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (EmploymentResponse) MarshalJSON

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

func (*EmploymentResponse) SetCurrency

func (o *EmploymentResponse) SetCurrency(v CurrencyResponse)

SetCurrency sets field value

func (*EmploymentResponse) SetEffectiveDate

func (o *EmploymentResponse) SetEffectiveDate(v string)

SetEffectiveDate sets field value

func (*EmploymentResponse) SetEmploymentType

func (o *EmploymentResponse) SetEmploymentType(v string)

SetEmploymentType sets field value

func (*EmploymentResponse) SetJobTitle

func (o *EmploymentResponse) SetJobTitle(v string)

SetJobTitle sets field value

func (*EmploymentResponse) SetPayFrequency

func (o *EmploymentResponse) SetPayFrequency(v string)

SetPayFrequency sets field value

func (*EmploymentResponse) SetPayPeriod

func (o *EmploymentResponse) SetPayPeriod(v string)

SetPayPeriod sets field value

func (*EmploymentResponse) SetPayRate

func (o *EmploymentResponse) SetPayRate(v float32)

SetPayRate sets field value

type EmploymentStatusNotNullNotNullable added in v1.1.63

type EmploymentStatusNotNullNotNullable string

EmploymentStatusNotNullNotNullable the model 'EmploymentStatusNotNullNotNullable'

const (
	ACTIVE   EmploymentStatusNotNullNotNullable = "active"
	INACTIVE EmploymentStatusNotNullNotNullable = "inactive"
	PENDING  EmploymentStatusNotNullNotNullable = "pending"
	LEAVE    EmploymentStatusNotNullNotNullable = "leave"
)

List of EmploymentStatusNotNullNotNullable

func NewEmploymentStatusNotNullNotNullableFromValue added in v1.1.63

func NewEmploymentStatusNotNullNotNullableFromValue(v string) (*EmploymentStatusNotNullNotNullable, error)

NewEmploymentStatusNotNullNotNullableFromValue returns a pointer to a valid EmploymentStatusNotNullNotNullable for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EmploymentStatusNotNullNotNullable) IsValid added in v1.1.63

IsValid return true if the value is valid for the enum, false otherwise

func (EmploymentStatusNotNullNotNullable) Ptr added in v1.1.63

Ptr returns reference to EmploymentStatusNotNullNotNullable value

func (*EmploymentStatusNotNullNotNullable) UnmarshalJSON added in v1.1.63

func (v *EmploymentStatusNotNullNotNullable) UnmarshalJSON(src []byte) error

type EmploymentStatusNotNullRequest added in v1.1.61

type EmploymentStatusNotNullRequest string

EmploymentStatusNotNullRequest the model 'EmploymentStatusNotNullRequest'

const (
	ACTIVE   EmploymentStatusNotNullRequest = "active"
	INACTIVE EmploymentStatusNotNullRequest = "inactive"
	PENDING  EmploymentStatusNotNullRequest = "pending"
	LEAVE    EmploymentStatusNotNullRequest = "leave"
)

List of employment-status-not-nullRequest

func NewEmploymentStatusNotNullRequestFromValue added in v1.1.61

func NewEmploymentStatusNotNullRequestFromValue(v string) (*EmploymentStatusNotNullRequest, error)

NewEmploymentStatusNotNullRequestFromValue returns a pointer to a valid EmploymentStatusNotNullRequest for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EmploymentStatusNotNullRequest) IsValid added in v1.1.61

IsValid return true if the value is valid for the enum, false otherwise

func (EmploymentStatusNotNullRequest) Ptr added in v1.1.61

Ptr returns reference to employment-status-not-nullRequest value

func (*EmploymentStatusNotNullRequest) UnmarshalJSON added in v1.1.61

func (v *EmploymentStatusNotNullRequest) UnmarshalJSON(src []byte) error

type EmploymentStatusResponse added in v1.1.61

type EmploymentStatusResponse string

EmploymentStatusResponse the model 'EmploymentStatusResponse'

const (
	NULL     EmploymentStatusResponse = "null"
	ACTIVE   EmploymentStatusResponse = "active"
	INACTIVE EmploymentStatusResponse = "inactive"
	PENDING  EmploymentStatusResponse = "pending"
	LEAVE    EmploymentStatusResponse = "leave"
)

List of employment-statusResponse

func NewEmploymentStatusResponseFromValue added in v1.1.61

func NewEmploymentStatusResponseFromValue(v string) (*EmploymentStatusResponse, error)

NewEmploymentStatusResponseFromValue returns a pointer to a valid EmploymentStatusResponse for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EmploymentStatusResponse) IsValid added in v1.1.61

func (v EmploymentStatusResponse) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (EmploymentStatusResponse) Ptr added in v1.1.61

Ptr returns reference to employment-statusResponse value

func (*EmploymentStatusResponse) UnmarshalJSON added in v1.1.61

func (v *EmploymentStatusResponse) UnmarshalJSON(src []byte) 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 GroupNoNullEnumRequest

type GroupNoNullEnumRequest struct {
	Id       NullableString `json:"id"`
	RemoteId NullableString `json:"remote_id"`
	Name     NullableString `json:"name"`
	Type     NullableString `json:"type"`
}

GroupNoNullEnumRequest struct for GroupNoNullEnumRequest

func NewGroupNoNullEnumRequest

func NewGroupNoNullEnumRequest(id NullableString, remoteId NullableString, name NullableString, type_ NullableString) *GroupNoNullEnumRequest

NewGroupNoNullEnumRequest instantiates a new GroupNoNullEnumRequest 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 NewGroupNoNullEnumRequestWithDefaults

func NewGroupNoNullEnumRequestWithDefaults() *GroupNoNullEnumRequest

NewGroupNoNullEnumRequestWithDefaults instantiates a new GroupNoNullEnumRequest 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 (*GroupNoNullEnumRequest) GetId

func (o *GroupNoNullEnumRequest) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupNoNullEnumRequest) GetIdOk

func (o *GroupNoNullEnumRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GroupNoNullEnumRequest) GetName

func (o *GroupNoNullEnumRequest) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*GroupNoNullEnumRequest) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GroupNoNullEnumRequest) GetRemoteId

func (o *GroupNoNullEnumRequest) GetRemoteId() string

GetRemoteId returns the RemoteId field value If the value is explicit nil, the zero value for string will be returned

func (*GroupNoNullEnumRequest) GetRemoteIdOk

func (o *GroupNoNullEnumRequest) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GroupNoNullEnumRequest) GetType

func (o *GroupNoNullEnumRequest) GetType() string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupNoNullEnumRequest) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (GroupNoNullEnumRequest) MarshalJSON

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

func (*GroupNoNullEnumRequest) SetId

func (o *GroupNoNullEnumRequest) SetId(v string)

SetId sets field value

func (*GroupNoNullEnumRequest) SetName

func (o *GroupNoNullEnumRequest) SetName(v string)

SetName sets field value

func (*GroupNoNullEnumRequest) SetRemoteId

func (o *GroupNoNullEnumRequest) SetRemoteId(v string)

SetRemoteId sets field value

func (*GroupNoNullEnumRequest) SetType

func (o *GroupNoNullEnumRequest) SetType(v string)

SetType sets field value

type GroupResponse

type GroupResponse struct {
	Id       NullableString `json:"id"`
	RemoteId NullableString `json:"remote_id"`
	Name     NullableString `json:"name"`
	Type     NullableString `json:"type"`
}

GroupResponse struct for GroupResponse

func NewGroupResponse

func NewGroupResponse(id NullableString, remoteId NullableString, name NullableString, type_ NullableString) *GroupResponse

NewGroupResponse instantiates a new GroupResponse 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 NewGroupResponseWithDefaults

func NewGroupResponseWithDefaults() *GroupResponse

NewGroupResponseWithDefaults instantiates a new GroupResponse 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 (*GroupResponse) GetId

func (o *GroupResponse) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResponse) GetIdOk

func (o *GroupResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GroupResponse) GetName

func (o *GroupResponse) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResponse) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GroupResponse) GetRemoteId

func (o *GroupResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResponse) GetRemoteIdOk

func (o *GroupResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GroupResponse) GetType

func (o *GroupResponse) GetType() string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GroupResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (GroupResponse) MarshalJSON

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

func (*GroupResponse) SetId

func (o *GroupResponse) SetId(v string)

SetId sets field value

func (*GroupResponse) SetName

func (o *GroupResponse) SetName(v string)

SetName sets field value

func (*GroupResponse) SetRemoteId

func (o *GroupResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*GroupResponse) SetType

func (o *GroupResponse) SetType(v string)

SetType sets field value

type IdAndMessageResponse

type IdAndMessageResponse struct {
	// A description of the error
	Message string `json:"message"`
	// The id of the entity that the id applies. For example, the transaction id
	Id string `json:"id"`
}

IdAndMessageResponse struct for IdAndMessageResponse

func NewIdAndMessageResponse

func NewIdAndMessageResponse(message string, id string) *IdAndMessageResponse

NewIdAndMessageResponse instantiates a new IdAndMessageResponse 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 NewIdAndMessageResponseWithDefaults

func NewIdAndMessageResponseWithDefaults() *IdAndMessageResponse

NewIdAndMessageResponseWithDefaults instantiates a new IdAndMessageResponse 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 (*IdAndMessageResponse) GetId

func (o *IdAndMessageResponse) GetId() string

GetId returns the Id field value

func (*IdAndMessageResponse) GetIdOk

func (o *IdAndMessageResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*IdAndMessageResponse) GetMessage

func (o *IdAndMessageResponse) GetMessage() string

GetMessage returns the Message field value

func (*IdAndMessageResponse) GetMessageOk

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

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

func (IdAndMessageResponse) MarshalJSON

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

func (*IdAndMessageResponse) SetId

func (o *IdAndMessageResponse) SetId(v string)

SetId sets field value

func (*IdAndMessageResponse) SetMessage

func (o *IdAndMessageResponse) SetMessage(v string)

SetMessage sets field value

type IdentityResponse

type IdentityResponse struct {
	// The name of the individual for the respective account, if known
	Name string `json:"name"`
	// The email of the individual for the respective account, if known
	Email string `json:"email"`
	// The phone number of the individual for the respective account, if known. Nullable for tokens created prior to 2023-03-05
	PhoneNumber NullableString `json:"phone_number"`
}

IdentityResponse struct for IdentityResponse

func NewIdentityResponse

func NewIdentityResponse(name string, email string, phoneNumber NullableString) *IdentityResponse

NewIdentityResponse instantiates a new IdentityResponse 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 NewIdentityResponseWithDefaults

func NewIdentityResponseWithDefaults() *IdentityResponse

NewIdentityResponseWithDefaults instantiates a new IdentityResponse 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 (*IdentityResponse) GetEmail

func (o *IdentityResponse) GetEmail() string

GetEmail returns the Email field value

func (*IdentityResponse) GetEmailOk

func (o *IdentityResponse) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.

func (*IdentityResponse) GetName

func (o *IdentityResponse) GetName() string

GetName returns the Name field value

func (*IdentityResponse) GetNameOk

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

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

func (*IdentityResponse) GetPhoneNumber

func (o *IdentityResponse) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value If the value is explicit nil, the zero value for string will be returned

func (*IdentityResponse) GetPhoneNumberOk

func (o *IdentityResponse) GetPhoneNumberOk() (*string, bool)

GetPhoneNumberOk returns a tuple with the PhoneNumber field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (IdentityResponse) MarshalJSON

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

func (*IdentityResponse) SetEmail

func (o *IdentityResponse) SetEmail(v string)

SetEmail sets field value

func (*IdentityResponse) SetName

func (o *IdentityResponse) SetName(v string)

SetName sets field value

func (*IdentityResponse) SetPhoneNumber

func (o *IdentityResponse) SetPhoneNumber(v string)

SetPhoneNumber sets field value

type InlineResponse400

type InlineResponse400 struct {
	Message         *string `json:"message,omitempty"`
	ValidationError *string `json:"validation_error,omitempty"`
}

InlineResponse400 struct for InlineResponse400

func NewInlineResponse400

func NewInlineResponse400() *InlineResponse400

NewInlineResponse400 instantiates a new InlineResponse400 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 NewInlineResponse400WithDefaults

func NewInlineResponse400WithDefaults() *InlineResponse400

NewInlineResponse400WithDefaults instantiates a new InlineResponse400 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 (*InlineResponse400) GetMessage

func (o *InlineResponse400) GetMessage() string

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

func (*InlineResponse400) GetMessageOk

func (o *InlineResponse400) 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 (*InlineResponse400) GetValidationError

func (o *InlineResponse400) GetValidationError() string

GetValidationError returns the ValidationError field value if set, zero value otherwise.

func (*InlineResponse400) GetValidationErrorOk

func (o *InlineResponse400) GetValidationErrorOk() (*string, bool)

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

func (*InlineResponse400) HasMessage

func (o *InlineResponse400) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*InlineResponse400) HasValidationError

func (o *InlineResponse400) HasValidationError() bool

HasValidationError returns a boolean if a field has been set.

func (InlineResponse400) MarshalJSON

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

func (*InlineResponse400) SetMessage

func (o *InlineResponse400) SetMessage(v string)

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

func (*InlineResponse400) SetValidationError

func (o *InlineResponse400) SetValidationError(v string)

SetValidationError gets a reference to the given string and assigns it to the ValidationError field.

type InlineResponse401

type InlineResponse401 struct {
	// The type of error
	Error string `json:"error"`
	// A descriptive description of the error
	Message string `json:"message"`
	Code    string `json:"code"`
}

InlineResponse401 struct for InlineResponse401

func NewInlineResponse401

func NewInlineResponse401(error_ string, message string, code string) *InlineResponse401

NewInlineResponse401 instantiates a new InlineResponse401 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 NewInlineResponse401WithDefaults

func NewInlineResponse401WithDefaults() *InlineResponse401

NewInlineResponse401WithDefaults instantiates a new InlineResponse401 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 (*InlineResponse401) GetCode

func (o *InlineResponse401) GetCode() string

GetCode returns the Code field value

func (*InlineResponse401) GetCodeOk

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

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

func (*InlineResponse401) GetError

func (o *InlineResponse401) GetError() string

GetError returns the Error field value

func (*InlineResponse401) GetErrorOk

func (o *InlineResponse401) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*InlineResponse401) GetMessage

func (o *InlineResponse401) GetMessage() string

GetMessage returns the Message field value

func (*InlineResponse401) GetMessageOk

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

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

func (InlineResponse401) MarshalJSON

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

func (*InlineResponse401) SetCode

func (o *InlineResponse401) SetCode(v string)

SetCode sets field value

func (*InlineResponse401) SetError

func (o *InlineResponse401) SetError(v string)

SetError sets field value

func (*InlineResponse401) SetMessage

func (o *InlineResponse401) SetMessage(v string)

SetMessage sets field value

type InlineResponse409

type InlineResponse409 struct {
	// The authorization code insert that caused a conflict
	Code *string `json:"code,omitempty"`
	// The access token insert that caused a conflict
	Token *string `json:"token,omitempty"`
	// The description of the type of error, ie conflict of two requests of the the same authorization code
	Error string `json:"error"`
}

InlineResponse409 struct for InlineResponse409

func NewInlineResponse409

func NewInlineResponse409(error_ string) *InlineResponse409

NewInlineResponse409 instantiates a new InlineResponse409 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 NewInlineResponse409WithDefaults

func NewInlineResponse409WithDefaults() *InlineResponse409

NewInlineResponse409WithDefaults instantiates a new InlineResponse409 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 (*InlineResponse409) GetCode

func (o *InlineResponse409) GetCode() string

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

func (*InlineResponse409) GetCodeOk

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

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

func (*InlineResponse409) GetError

func (o *InlineResponse409) GetError() string

GetError returns the Error field value

func (*InlineResponse409) GetErrorOk

func (o *InlineResponse409) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*InlineResponse409) GetToken

func (o *InlineResponse409) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*InlineResponse409) GetTokenOk

func (o *InlineResponse409) GetTokenOk() (*string, bool)

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

func (*InlineResponse409) HasCode

func (o *InlineResponse409) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*InlineResponse409) HasToken

func (o *InlineResponse409) HasToken() bool

HasToken returns a boolean if a field has been set.

func (InlineResponse409) MarshalJSON

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

func (*InlineResponse409) SetCode

func (o *InlineResponse409) SetCode(v string)

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

func (*InlineResponse409) SetError

func (o *InlineResponse409) SetError(v string)

SetError sets field value

func (*InlineResponse409) SetToken

func (o *InlineResponse409) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

type IntrospectResponse

type IntrospectResponse struct {
	// The client ID you received when you first created the application
	ClientId string           `json:"client_id"`
	Mode     ModeResponse     `json:"mode"`
	Provider ProviderResponse `json:"provider"`
	// One or more scope values indicating which parts of the user's account you wish to access.  Note, slight deviation from the OAuth 2.1 spec in that the param is scopes (plural) is used vs scope (singular)
	Scopes []ScopesResponse `json:"scopes"`
}

IntrospectResponse struct for IntrospectResponse

func NewIntrospectResponse

func NewIntrospectResponse(clientId string, mode ModeResponse, provider ProviderResponse, scopes []ScopesResponse) *IntrospectResponse

NewIntrospectResponse instantiates a new IntrospectResponse 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 NewIntrospectResponseWithDefaults

func NewIntrospectResponseWithDefaults() *IntrospectResponse

NewIntrospectResponseWithDefaults instantiates a new IntrospectResponse 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 (*IntrospectResponse) GetClientId

func (o *IntrospectResponse) GetClientId() string

GetClientId returns the ClientId field value

func (*IntrospectResponse) GetClientIdOk

func (o *IntrospectResponse) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*IntrospectResponse) GetMode

func (o *IntrospectResponse) GetMode() ModeResponse

GetMode returns the Mode field value

func (*IntrospectResponse) GetModeOk

func (o *IntrospectResponse) GetModeOk() (*ModeResponse, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*IntrospectResponse) GetProvider

func (o *IntrospectResponse) GetProvider() ProviderResponse

GetProvider returns the Provider field value

func (*IntrospectResponse) GetProviderOk

func (o *IntrospectResponse) GetProviderOk() (*ProviderResponse, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*IntrospectResponse) GetScopes

func (o *IntrospectResponse) GetScopes() []ScopesResponse

GetScopes returns the Scopes field value

func (*IntrospectResponse) GetScopesOk

func (o *IntrospectResponse) GetScopesOk() (*[]ScopesResponse, bool)

GetScopesOk returns a tuple with the Scopes field value and a boolean to check if the value has been set.

func (IntrospectResponse) MarshalJSON

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

func (*IntrospectResponse) SetClientId

func (o *IntrospectResponse) SetClientId(v string)

SetClientId sets field value

func (*IntrospectResponse) SetMode

func (o *IntrospectResponse) SetMode(v ModeResponse)

SetMode sets field value

func (*IntrospectResponse) SetProvider

func (o *IntrospectResponse) SetProvider(v ProviderResponse)

SetProvider sets field value

func (*IntrospectResponse) SetScopes

func (o *IntrospectResponse) SetScopes(v []ScopesResponse)

SetScopes sets field value

type LocationNoNonNullRequest

type LocationNoNonNullRequest struct {
	// The Affix-assigned id of the individual
	Id NullableString `json:"id"`
	// the remote system-assigned id of the individual
	RemoteId NullableString `json:"remote_id"`
	// System assigned description of the location
	Name NullableString `json:"name"`
	// The location's type. In cases where there is no clear mapping, the original value passed through will be returned.
	Type    NullableString                  `json:"type"`
	Address NullableAddressNoNonNullRequest `json:"address"`
}

LocationNoNonNullRequest struct for LocationNoNonNullRequest

func NewLocationNoNonNullRequest

func NewLocationNoNonNullRequest(id NullableString, remoteId NullableString, name NullableString, type_ NullableString, address NullableAddressNoNonNullRequest) *LocationNoNonNullRequest

NewLocationNoNonNullRequest instantiates a new LocationNoNonNullRequest 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 NewLocationNoNonNullRequestWithDefaults

func NewLocationNoNonNullRequestWithDefaults() *LocationNoNonNullRequest

NewLocationNoNonNullRequestWithDefaults instantiates a new LocationNoNonNullRequest 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 (*LocationNoNonNullRequest) GetAddress

GetAddress returns the Address field value If the value is explicit nil, the zero value for AddressNoNonNullRequest will be returned

func (*LocationNoNonNullRequest) GetAddressOk

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationNoNonNullRequest) GetId

func (o *LocationNoNonNullRequest) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*LocationNoNonNullRequest) GetIdOk

func (o *LocationNoNonNullRequest) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationNoNonNullRequest) GetName

func (o *LocationNoNonNullRequest) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*LocationNoNonNullRequest) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationNoNonNullRequest) GetRemoteId

func (o *LocationNoNonNullRequest) GetRemoteId() string

GetRemoteId returns the RemoteId field value If the value is explicit nil, the zero value for string will be returned

func (*LocationNoNonNullRequest) GetRemoteIdOk

func (o *LocationNoNonNullRequest) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationNoNonNullRequest) GetType

func (o *LocationNoNonNullRequest) GetType() string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*LocationNoNonNullRequest) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (LocationNoNonNullRequest) MarshalJSON

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

func (*LocationNoNonNullRequest) SetAddress

SetAddress sets field value

func (*LocationNoNonNullRequest) SetId

func (o *LocationNoNonNullRequest) SetId(v string)

SetId sets field value

func (*LocationNoNonNullRequest) SetName

func (o *LocationNoNonNullRequest) SetName(v string)

SetName sets field value

func (*LocationNoNonNullRequest) SetRemoteId

func (o *LocationNoNonNullRequest) SetRemoteId(v string)

SetRemoteId sets field value

func (*LocationNoNonNullRequest) SetType

func (o *LocationNoNonNullRequest) SetType(v string)

SetType sets field value

type LocationResponse

type LocationResponse struct {
	// The Affix-assigned id of the individual
	Id NullableString `json:"id"`
	// the remote system-assigned id of the individual
	RemoteId NullableString `json:"remote_id"`
	// System assigned description of the location
	Name NullableString `json:"name"`
	// The location's type. In cases where there is no clear mapping, the original value passed through will be returned.
	Type    NullableString          `json:"type"`
	Address NullableAddressResponse `json:"address"`
}

LocationResponse struct for LocationResponse

func NewLocationResponse

func NewLocationResponse(id NullableString, remoteId NullableString, name NullableString, type_ NullableString, address NullableAddressResponse) *LocationResponse

NewLocationResponse instantiates a new LocationResponse 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 NewLocationResponseWithDefaults

func NewLocationResponseWithDefaults() *LocationResponse

NewLocationResponseWithDefaults instantiates a new LocationResponse 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 (*LocationResponse) GetAddress

func (o *LocationResponse) GetAddress() AddressResponse

GetAddress returns the Address field value If the value is explicit nil, the zero value for AddressResponse will be returned

func (*LocationResponse) GetAddressOk

func (o *LocationResponse) GetAddressOk() (*AddressResponse, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationResponse) GetId

func (o *LocationResponse) GetId() string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*LocationResponse) GetIdOk

func (o *LocationResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationResponse) GetName

func (o *LocationResponse) GetName() string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*LocationResponse) GetNameOk

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

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationResponse) GetRemoteId

func (o *LocationResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value If the value is explicit nil, the zero value for string will be returned

func (*LocationResponse) GetRemoteIdOk

func (o *LocationResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LocationResponse) GetType

func (o *LocationResponse) GetType() string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*LocationResponse) GetTypeOk

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

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (LocationResponse) MarshalJSON

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

func (*LocationResponse) SetAddress

func (o *LocationResponse) SetAddress(v AddressResponse)

SetAddress sets field value

func (*LocationResponse) SetId

func (o *LocationResponse) SetId(v string)

SetId sets field value

func (*LocationResponse) SetName

func (o *LocationResponse) SetName(v string)

SetName sets field value

func (*LocationResponse) SetRemoteId

func (o *LocationResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*LocationResponse) SetType

func (o *LocationResponse) SetType(v string)

SetType sets field value

type ManagementApiService

type ManagementApiService service

ManagementApiService ManagementApi service

func (*ManagementApiService) Client

* Client Client * View client attributes

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

func (*ManagementApiService) ClientExecute

* Execute executes the request * @return ClientResponse

func (*ManagementApiService) Disconnect

* Disconnect Disconnect token * Disconnect the token. A disconnected token will no longer return data. Data requests with a disconnected token will return a 403 Forbidden

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

func (*ManagementApiService) DisconnectExecute

* Execute executes the request * @return DisconnectResponse

func (*ManagementApiService) Introspect

* Introspect Inspect token * Retrieve data about the token, such as `scopes`, `mode`, `provider`, and if it is active

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

func (*ManagementApiService) IntrospectExecute

* Execute executes the request * @return IntrospectResponse

func (*ManagementApiService) Token

* Token Create token * Exchange an `authorization_code` for an `access_token` after receiving on from the `redirect_uri` you specifiy after a successful user connection

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

func (*ManagementApiService) TokenExecute

* Execute executes the request * @return TokenResponse

func (*ManagementApiService) Tokens

* Tokens Tokens * View tokens and token status for respective client

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

func (*ManagementApiService) TokensExecute

func (a *ManagementApiService) TokensExecute(r ApiTokensRequest) ([]map[string]interface{}, *_nethttp.Response, error)

* Execute executes the request * @return []map[string]interface{}

func (*ManagementApiService) UpdateClient

  • UpdateClient Update client
  • Update attributes of the client. Update the `name`, `client_secret`, or

`webhook_uri` of the client

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

func (*ManagementApiService) UpdateClientExecute

* Execute executes the request * @return ClientResponse

type MessageResponse

type MessageResponse struct {
	Message string `json:"message"`
}

MessageResponse struct for MessageResponse

func NewMessageResponse

func NewMessageResponse(message string) *MessageResponse

NewMessageResponse instantiates a new MessageResponse 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 NewMessageResponseWithDefaults

func NewMessageResponseWithDefaults() *MessageResponse

NewMessageResponseWithDefaults instantiates a new MessageResponse 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 (*MessageResponse) GetMessage

func (o *MessageResponse) GetMessage() string

GetMessage returns the Message field value

func (*MessageResponse) GetMessageOk

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

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

func (MessageResponse) MarshalJSON

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

func (*MessageResponse) SetMessage

func (o *MessageResponse) SetMessage(v string)

SetMessage sets field value

type ModeRequest

type ModeRequest string

ModeRequest the model 'ModeRequest'

const (
	OFFICIAL ModeRequest = "official"
	XHR      ModeRequest = "xhr"
)

List of ModeRequest

func NewModeRequestFromValue

func NewModeRequestFromValue(v string) (*ModeRequest, error)

NewModeRequestFromValue returns a pointer to a valid ModeRequest for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ModeRequest) IsValid

func (v ModeRequest) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ModeRequest) Ptr

func (v ModeRequest) Ptr() *ModeRequest

Ptr returns reference to ModeRequest value

func (*ModeRequest) UnmarshalJSON

func (v *ModeRequest) UnmarshalJSON(src []byte) error

type ModeResponse

type ModeResponse string

ModeResponse the model 'ModeResponse'

const (
	OFFICIAL ModeResponse = "official"
	XHR      ModeResponse = "xhr"
)

List of ModeResponse

func NewModeResponseFromValue

func NewModeResponseFromValue(v string) (*ModeResponse, error)

NewModeResponseFromValue returns a pointer to a valid ModeResponse for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ModeResponse) IsValid

func (v ModeResponse) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ModeResponse) Ptr

func (v ModeResponse) Ptr() *ModeResponse

Ptr returns reference to ModeResponse value

func (*ModeResponse) UnmarshalJSON

func (v *ModeResponse) UnmarshalJSON(src []byte) error

type NullableAddressNoNonNullRequest

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

func (NullableAddressNoNonNullRequest) Get

func (NullableAddressNoNonNullRequest) IsSet

func (NullableAddressNoNonNullRequest) MarshalJSON

func (v NullableAddressNoNonNullRequest) MarshalJSON() ([]byte, error)

func (*NullableAddressNoNonNullRequest) Set

func (*NullableAddressNoNonNullRequest) UnmarshalJSON

func (v *NullableAddressNoNonNullRequest) UnmarshalJSON(src []byte) error

func (*NullableAddressNoNonNullRequest) Unset

type NullableAddressResponse

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

func NewNullableAddressResponse

func NewNullableAddressResponse(val *AddressResponse) *NullableAddressResponse

func (NullableAddressResponse) Get

func (NullableAddressResponse) IsSet

func (v NullableAddressResponse) IsSet() bool

func (NullableAddressResponse) MarshalJSON

func (v NullableAddressResponse) MarshalJSON() ([]byte, error)

func (*NullableAddressResponse) Set

func (*NullableAddressResponse) UnmarshalJSON

func (v *NullableAddressResponse) UnmarshalJSON(src []byte) error

func (*NullableAddressResponse) Unset

func (v *NullableAddressResponse) 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 NullableClientRequest

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

func NewNullableClientRequest

func NewNullableClientRequest(val *ClientRequest) *NullableClientRequest

func (NullableClientRequest) Get

func (NullableClientRequest) IsSet

func (v NullableClientRequest) IsSet() bool

func (NullableClientRequest) MarshalJSON

func (v NullableClientRequest) MarshalJSON() ([]byte, error)

func (*NullableClientRequest) Set

func (v *NullableClientRequest) Set(val *ClientRequest)

func (*NullableClientRequest) UnmarshalJSON

func (v *NullableClientRequest) UnmarshalJSON(src []byte) error

func (*NullableClientRequest) Unset

func (v *NullableClientRequest) Unset()

type NullableClientResponse

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

func NewNullableClientResponse

func NewNullableClientResponse(val *ClientResponse) *NullableClientResponse

func (NullableClientResponse) Get

func (NullableClientResponse) IsSet

func (v NullableClientResponse) IsSet() bool

func (NullableClientResponse) MarshalJSON

func (v NullableClientResponse) MarshalJSON() ([]byte, error)

func (*NullableClientResponse) Set

func (*NullableClientResponse) UnmarshalJSON

func (v *NullableClientResponse) UnmarshalJSON(src []byte) error

func (*NullableClientResponse) Unset

func (v *NullableClientResponse) Unset()

type NullableCompanyResponse

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

func NewNullableCompanyResponse

func NewNullableCompanyResponse(val *CompanyResponse) *NullableCompanyResponse

func (NullableCompanyResponse) Get

func (NullableCompanyResponse) IsSet

func (v NullableCompanyResponse) IsSet() bool

func (NullableCompanyResponse) MarshalJSON

func (v NullableCompanyResponse) MarshalJSON() ([]byte, error)

func (*NullableCompanyResponse) Set

func (*NullableCompanyResponse) UnmarshalJSON

func (v *NullableCompanyResponse) UnmarshalJSON(src []byte) error

func (*NullableCompanyResponse) Unset

func (v *NullableCompanyResponse) Unset()

type NullableCreateEmployeeRequest

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

func (NullableCreateEmployeeRequest) Get

func (NullableCreateEmployeeRequest) IsSet

func (NullableCreateEmployeeRequest) MarshalJSON

func (v NullableCreateEmployeeRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateEmployeeRequest) Set

func (*NullableCreateEmployeeRequest) UnmarshalJSON

func (v *NullableCreateEmployeeRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateEmployeeRequest) Unset

func (v *NullableCreateEmployeeRequest) Unset()

type NullableCreateEmployeeRequestBankAccount

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

func (NullableCreateEmployeeRequestBankAccount) Get

func (NullableCreateEmployeeRequestBankAccount) IsSet

func (NullableCreateEmployeeRequestBankAccount) MarshalJSON

func (*NullableCreateEmployeeRequestBankAccount) Set

func (*NullableCreateEmployeeRequestBankAccount) UnmarshalJSON

func (v *NullableCreateEmployeeRequestBankAccount) UnmarshalJSON(src []byte) error

func (*NullableCreateEmployeeRequestBankAccount) Unset

type NullableCreateEmployeeRequestDependents added in v1.1.61

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

func NewNullableCreateEmployeeRequestDependents added in v1.1.61

func NewNullableCreateEmployeeRequestDependents(val *CreateEmployeeRequestDependents) *NullableCreateEmployeeRequestDependents

func (NullableCreateEmployeeRequestDependents) Get added in v1.1.61

func (NullableCreateEmployeeRequestDependents) IsSet added in v1.1.61

func (NullableCreateEmployeeRequestDependents) MarshalJSON added in v1.1.61

func (v NullableCreateEmployeeRequestDependents) MarshalJSON() ([]byte, error)

func (*NullableCreateEmployeeRequestDependents) Set added in v1.1.61

func (*NullableCreateEmployeeRequestDependents) UnmarshalJSON added in v1.1.61

func (v *NullableCreateEmployeeRequestDependents) UnmarshalJSON(src []byte) error

func (*NullableCreateEmployeeRequestDependents) Unset added in v1.1.61

type NullableCreateEmployeeRequestEmergencyContacts added in v1.1.61

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

func (NullableCreateEmployeeRequestEmergencyContacts) Get added in v1.1.61

func (NullableCreateEmployeeRequestEmergencyContacts) IsSet added in v1.1.61

func (NullableCreateEmployeeRequestEmergencyContacts) MarshalJSON added in v1.1.61

func (*NullableCreateEmployeeRequestEmergencyContacts) Set added in v1.1.61

func (*NullableCreateEmployeeRequestEmergencyContacts) UnmarshalJSON added in v1.1.61

func (*NullableCreateEmployeeRequestEmergencyContacts) Unset added in v1.1.61

type NullableCreateEmployeeRequestManager

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

func (NullableCreateEmployeeRequestManager) Get

func (NullableCreateEmployeeRequestManager) IsSet

func (NullableCreateEmployeeRequestManager) MarshalJSON

func (v NullableCreateEmployeeRequestManager) MarshalJSON() ([]byte, error)

func (*NullableCreateEmployeeRequestManager) Set

func (*NullableCreateEmployeeRequestManager) UnmarshalJSON

func (v *NullableCreateEmployeeRequestManager) UnmarshalJSON(src []byte) error

func (*NullableCreateEmployeeRequestManager) Unset

type NullableCurrencyNotNullRequest added in v1.1.26

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

func NewNullableCurrencyNotNullRequest added in v1.1.26

func NewNullableCurrencyNotNullRequest(val *CurrencyNotNullRequest) *NullableCurrencyNotNullRequest

func (NullableCurrencyNotNullRequest) Get added in v1.1.26

func (NullableCurrencyNotNullRequest) IsSet added in v1.1.26

func (NullableCurrencyNotNullRequest) MarshalJSON added in v1.1.26

func (v NullableCurrencyNotNullRequest) MarshalJSON() ([]byte, error)

func (*NullableCurrencyNotNullRequest) Set added in v1.1.26

func (*NullableCurrencyNotNullRequest) UnmarshalJSON added in v1.1.26

func (v *NullableCurrencyNotNullRequest) UnmarshalJSON(src []byte) error

func (*NullableCurrencyNotNullRequest) Unset added in v1.1.26

func (v *NullableCurrencyNotNullRequest) Unset()

type NullableCurrencyResponse

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

func NewNullableCurrencyResponse

func NewNullableCurrencyResponse(val *CurrencyResponse) *NullableCurrencyResponse

func (NullableCurrencyResponse) Get

func (NullableCurrencyResponse) IsSet

func (v NullableCurrencyResponse) IsSet() bool

func (NullableCurrencyResponse) MarshalJSON

func (v NullableCurrencyResponse) MarshalJSON() ([]byte, error)

func (*NullableCurrencyResponse) Set

func (*NullableCurrencyResponse) UnmarshalJSON

func (v *NullableCurrencyResponse) UnmarshalJSON(src []byte) error

func (*NullableCurrencyResponse) Unset

func (v *NullableCurrencyResponse) Unset()

type NullableDisconnectResponse

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

func NewNullableDisconnectResponse

func NewNullableDisconnectResponse(val *DisconnectResponse) *NullableDisconnectResponse

func (NullableDisconnectResponse) Get

func (NullableDisconnectResponse) IsSet

func (v NullableDisconnectResponse) IsSet() bool

func (NullableDisconnectResponse) MarshalJSON

func (v NullableDisconnectResponse) MarshalJSON() ([]byte, error)

func (*NullableDisconnectResponse) Set

func (*NullableDisconnectResponse) UnmarshalJSON

func (v *NullableDisconnectResponse) UnmarshalJSON(src []byte) error

func (*NullableDisconnectResponse) Unset

func (v *NullableDisconnectResponse) Unset()

type NullableEmployeeResponse

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

func NewNullableEmployeeResponse

func NewNullableEmployeeResponse(val *EmployeeResponse) *NullableEmployeeResponse

func (NullableEmployeeResponse) Get

func (NullableEmployeeResponse) IsSet

func (v NullableEmployeeResponse) IsSet() bool

func (NullableEmployeeResponse) MarshalJSON

func (v NullableEmployeeResponse) MarshalJSON() ([]byte, error)

func (*NullableEmployeeResponse) Set

func (*NullableEmployeeResponse) UnmarshalJSON

func (v *NullableEmployeeResponse) UnmarshalJSON(src []byte) error

func (*NullableEmployeeResponse) Unset

func (v *NullableEmployeeResponse) Unset()

type NullableEmployeeResponseManager added in v1.1.28

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

func NewNullableEmployeeResponseManager added in v1.1.28

func NewNullableEmployeeResponseManager(val *EmployeeResponseManager) *NullableEmployeeResponseManager

func (NullableEmployeeResponseManager) Get added in v1.1.28

func (NullableEmployeeResponseManager) IsSet added in v1.1.28

func (NullableEmployeeResponseManager) MarshalJSON added in v1.1.28

func (v NullableEmployeeResponseManager) MarshalJSON() ([]byte, error)

func (*NullableEmployeeResponseManager) Set added in v1.1.28

func (*NullableEmployeeResponseManager) UnmarshalJSON added in v1.1.28

func (v *NullableEmployeeResponseManager) UnmarshalJSON(src []byte) error

func (*NullableEmployeeResponseManager) Unset added in v1.1.28

type NullableEmploymentNoNullEnumRequest

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

func (NullableEmploymentNoNullEnumRequest) Get

func (NullableEmploymentNoNullEnumRequest) IsSet

func (NullableEmploymentNoNullEnumRequest) MarshalJSON

func (v NullableEmploymentNoNullEnumRequest) MarshalJSON() ([]byte, error)

func (*NullableEmploymentNoNullEnumRequest) Set

func (*NullableEmploymentNoNullEnumRequest) UnmarshalJSON

func (v *NullableEmploymentNoNullEnumRequest) UnmarshalJSON(src []byte) error

func (*NullableEmploymentNoNullEnumRequest) Unset

type NullableEmploymentResponse

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

func NewNullableEmploymentResponse

func NewNullableEmploymentResponse(val *EmploymentResponse) *NullableEmploymentResponse

func (NullableEmploymentResponse) Get

func (NullableEmploymentResponse) IsSet

func (v NullableEmploymentResponse) IsSet() bool

func (NullableEmploymentResponse) MarshalJSON

func (v NullableEmploymentResponse) MarshalJSON() ([]byte, error)

func (*NullableEmploymentResponse) Set

func (*NullableEmploymentResponse) UnmarshalJSON

func (v *NullableEmploymentResponse) UnmarshalJSON(src []byte) error

func (*NullableEmploymentResponse) Unset

func (v *NullableEmploymentResponse) Unset()

type NullableEmploymentStatusNotNullNotNullable added in v1.1.63

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

func NewNullableEmploymentStatusNotNullNotNullable added in v1.1.63

func NewNullableEmploymentStatusNotNullNotNullable(val *EmploymentStatusNotNullNotNullable) *NullableEmploymentStatusNotNullNotNullable

func (NullableEmploymentStatusNotNullNotNullable) Get added in v1.1.63

func (NullableEmploymentStatusNotNullNotNullable) IsSet added in v1.1.63

func (NullableEmploymentStatusNotNullNotNullable) MarshalJSON added in v1.1.63

func (*NullableEmploymentStatusNotNullNotNullable) Set added in v1.1.63

func (*NullableEmploymentStatusNotNullNotNullable) UnmarshalJSON added in v1.1.63

func (v *NullableEmploymentStatusNotNullNotNullable) UnmarshalJSON(src []byte) error

func (*NullableEmploymentStatusNotNullNotNullable) Unset added in v1.1.63

type NullableEmploymentStatusNotNullRequest added in v1.1.61

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

func NewNullableEmploymentStatusNotNullRequest added in v1.1.61

func NewNullableEmploymentStatusNotNullRequest(val *EmploymentStatusNotNullRequest) *NullableEmploymentStatusNotNullRequest

func (NullableEmploymentStatusNotNullRequest) Get added in v1.1.61

func (NullableEmploymentStatusNotNullRequest) IsSet added in v1.1.61

func (NullableEmploymentStatusNotNullRequest) MarshalJSON added in v1.1.61

func (v NullableEmploymentStatusNotNullRequest) MarshalJSON() ([]byte, error)

func (*NullableEmploymentStatusNotNullRequest) Set added in v1.1.61

func (*NullableEmploymentStatusNotNullRequest) UnmarshalJSON added in v1.1.61

func (v *NullableEmploymentStatusNotNullRequest) UnmarshalJSON(src []byte) error

func (*NullableEmploymentStatusNotNullRequest) Unset added in v1.1.61

type NullableEmploymentStatusResponse added in v1.1.61

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

func NewNullableEmploymentStatusResponse added in v1.1.61

func NewNullableEmploymentStatusResponse(val *EmploymentStatusResponse) *NullableEmploymentStatusResponse

func (NullableEmploymentStatusResponse) Get added in v1.1.61

func (NullableEmploymentStatusResponse) IsSet added in v1.1.61

func (NullableEmploymentStatusResponse) MarshalJSON added in v1.1.61

func (v NullableEmploymentStatusResponse) MarshalJSON() ([]byte, error)

func (*NullableEmploymentStatusResponse) Set added in v1.1.61

func (*NullableEmploymentStatusResponse) UnmarshalJSON added in v1.1.61

func (v *NullableEmploymentStatusResponse) UnmarshalJSON(src []byte) error

func (*NullableEmploymentStatusResponse) Unset added in v1.1.61

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 NullableGroupNoNullEnumRequest

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

func (NullableGroupNoNullEnumRequest) Get

func (NullableGroupNoNullEnumRequest) IsSet

func (NullableGroupNoNullEnumRequest) MarshalJSON

func (v NullableGroupNoNullEnumRequest) MarshalJSON() ([]byte, error)

func (*NullableGroupNoNullEnumRequest) Set

func (*NullableGroupNoNullEnumRequest) UnmarshalJSON

func (v *NullableGroupNoNullEnumRequest) UnmarshalJSON(src []byte) error

func (*NullableGroupNoNullEnumRequest) Unset

func (v *NullableGroupNoNullEnumRequest) Unset()

type NullableGroupResponse

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

func NewNullableGroupResponse

func NewNullableGroupResponse(val *GroupResponse) *NullableGroupResponse

func (NullableGroupResponse) Get

func (NullableGroupResponse) IsSet

func (v NullableGroupResponse) IsSet() bool

func (NullableGroupResponse) MarshalJSON

func (v NullableGroupResponse) MarshalJSON() ([]byte, error)

func (*NullableGroupResponse) Set

func (v *NullableGroupResponse) Set(val *GroupResponse)

func (*NullableGroupResponse) UnmarshalJSON

func (v *NullableGroupResponse) UnmarshalJSON(src []byte) error

func (*NullableGroupResponse) Unset

func (v *NullableGroupResponse) Unset()

type NullableIdAndMessageResponse

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

func NewNullableIdAndMessageResponse

func NewNullableIdAndMessageResponse(val *IdAndMessageResponse) *NullableIdAndMessageResponse

func (NullableIdAndMessageResponse) Get

func (NullableIdAndMessageResponse) IsSet

func (NullableIdAndMessageResponse) MarshalJSON

func (v NullableIdAndMessageResponse) MarshalJSON() ([]byte, error)

func (*NullableIdAndMessageResponse) Set

func (*NullableIdAndMessageResponse) UnmarshalJSON

func (v *NullableIdAndMessageResponse) UnmarshalJSON(src []byte) error

func (*NullableIdAndMessageResponse) Unset

func (v *NullableIdAndMessageResponse) Unset()

type NullableIdentityResponse

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

func NewNullableIdentityResponse

func NewNullableIdentityResponse(val *IdentityResponse) *NullableIdentityResponse

func (NullableIdentityResponse) Get

func (NullableIdentityResponse) IsSet

func (v NullableIdentityResponse) IsSet() bool

func (NullableIdentityResponse) MarshalJSON

func (v NullableIdentityResponse) MarshalJSON() ([]byte, error)

func (*NullableIdentityResponse) Set

func (*NullableIdentityResponse) UnmarshalJSON

func (v *NullableIdentityResponse) UnmarshalJSON(src []byte) error

func (*NullableIdentityResponse) Unset

func (v *NullableIdentityResponse) Unset()

type NullableInlineResponse400

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

func NewNullableInlineResponse400

func NewNullableInlineResponse400(val *InlineResponse400) *NullableInlineResponse400

func (NullableInlineResponse400) Get

func (NullableInlineResponse400) IsSet

func (v NullableInlineResponse400) IsSet() bool

func (NullableInlineResponse400) MarshalJSON

func (v NullableInlineResponse400) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse400) Set

func (*NullableInlineResponse400) UnmarshalJSON

func (v *NullableInlineResponse400) UnmarshalJSON(src []byte) error

func (*NullableInlineResponse400) Unset

func (v *NullableInlineResponse400) Unset()

type NullableInlineResponse401

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

func NewNullableInlineResponse401

func NewNullableInlineResponse401(val *InlineResponse401) *NullableInlineResponse401

func (NullableInlineResponse401) Get

func (NullableInlineResponse401) IsSet

func (v NullableInlineResponse401) IsSet() bool

func (NullableInlineResponse401) MarshalJSON

func (v NullableInlineResponse401) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse401) Set

func (*NullableInlineResponse401) UnmarshalJSON

func (v *NullableInlineResponse401) UnmarshalJSON(src []byte) error

func (*NullableInlineResponse401) Unset

func (v *NullableInlineResponse401) Unset()

type NullableInlineResponse409

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

func NewNullableInlineResponse409

func NewNullableInlineResponse409(val *InlineResponse409) *NullableInlineResponse409

func (NullableInlineResponse409) Get

func (NullableInlineResponse409) IsSet

func (v NullableInlineResponse409) IsSet() bool

func (NullableInlineResponse409) MarshalJSON

func (v NullableInlineResponse409) MarshalJSON() ([]byte, error)

func (*NullableInlineResponse409) Set

func (*NullableInlineResponse409) UnmarshalJSON

func (v *NullableInlineResponse409) UnmarshalJSON(src []byte) error

func (*NullableInlineResponse409) Unset

func (v *NullableInlineResponse409) 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 NullableIntrospectResponse

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

func NewNullableIntrospectResponse

func NewNullableIntrospectResponse(val *IntrospectResponse) *NullableIntrospectResponse

func (NullableIntrospectResponse) Get

func (NullableIntrospectResponse) IsSet

func (v NullableIntrospectResponse) IsSet() bool

func (NullableIntrospectResponse) MarshalJSON

func (v NullableIntrospectResponse) MarshalJSON() ([]byte, error)

func (*NullableIntrospectResponse) Set

func (*NullableIntrospectResponse) UnmarshalJSON

func (v *NullableIntrospectResponse) UnmarshalJSON(src []byte) error

func (*NullableIntrospectResponse) Unset

func (v *NullableIntrospectResponse) Unset()

type NullableLocationNoNonNullRequest

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

func (NullableLocationNoNonNullRequest) Get

func (NullableLocationNoNonNullRequest) IsSet

func (NullableLocationNoNonNullRequest) MarshalJSON

func (v NullableLocationNoNonNullRequest) MarshalJSON() ([]byte, error)

func (*NullableLocationNoNonNullRequest) Set

func (*NullableLocationNoNonNullRequest) UnmarshalJSON

func (v *NullableLocationNoNonNullRequest) UnmarshalJSON(src []byte) error

func (*NullableLocationNoNonNullRequest) Unset

type NullableLocationResponse

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

func NewNullableLocationResponse

func NewNullableLocationResponse(val *LocationResponse) *NullableLocationResponse

func (NullableLocationResponse) Get

func (NullableLocationResponse) IsSet

func (v NullableLocationResponse) IsSet() bool

func (NullableLocationResponse) MarshalJSON

func (v NullableLocationResponse) MarshalJSON() ([]byte, error)

func (*NullableLocationResponse) Set

func (*NullableLocationResponse) UnmarshalJSON

func (v *NullableLocationResponse) UnmarshalJSON(src []byte) error

func (*NullableLocationResponse) Unset

func (v *NullableLocationResponse) Unset()

type NullableMessageResponse

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

func NewNullableMessageResponse

func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse

func (NullableMessageResponse) Get

func (NullableMessageResponse) IsSet

func (v NullableMessageResponse) IsSet() bool

func (NullableMessageResponse) MarshalJSON

func (v NullableMessageResponse) MarshalJSON() ([]byte, error)

func (*NullableMessageResponse) Set

func (*NullableMessageResponse) UnmarshalJSON

func (v *NullableMessageResponse) UnmarshalJSON(src []byte) error

func (*NullableMessageResponse) Unset

func (v *NullableMessageResponse) Unset()

type NullableModeRequest

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

func NewNullableModeRequest

func NewNullableModeRequest(val *ModeRequest) *NullableModeRequest

func (NullableModeRequest) Get

func (NullableModeRequest) IsSet

func (v NullableModeRequest) IsSet() bool

func (NullableModeRequest) MarshalJSON

func (v NullableModeRequest) MarshalJSON() ([]byte, error)

func (*NullableModeRequest) Set

func (v *NullableModeRequest) Set(val *ModeRequest)

func (*NullableModeRequest) UnmarshalJSON

func (v *NullableModeRequest) UnmarshalJSON(src []byte) error

func (*NullableModeRequest) Unset

func (v *NullableModeRequest) Unset()

type NullableModeResponse

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

func NewNullableModeResponse

func NewNullableModeResponse(val *ModeResponse) *NullableModeResponse

func (NullableModeResponse) Get

func (NullableModeResponse) IsSet

func (v NullableModeResponse) IsSet() bool

func (NullableModeResponse) MarshalJSON

func (v NullableModeResponse) MarshalJSON() ([]byte, error)

func (*NullableModeResponse) Set

func (v *NullableModeResponse) Set(val *ModeResponse)

func (*NullableModeResponse) UnmarshalJSON

func (v *NullableModeResponse) UnmarshalJSON(src []byte) error

func (*NullableModeResponse) Unset

func (v *NullableModeResponse) Unset()

type NullablePayrunResponse

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

func NewNullablePayrunResponse

func NewNullablePayrunResponse(val *PayrunResponse) *NullablePayrunResponse

func (NullablePayrunResponse) Get

func (NullablePayrunResponse) IsSet

func (v NullablePayrunResponse) IsSet() bool

func (NullablePayrunResponse) MarshalJSON

func (v NullablePayrunResponse) MarshalJSON() ([]byte, error)

func (*NullablePayrunResponse) Set

func (*NullablePayrunResponse) UnmarshalJSON

func (v *NullablePayrunResponse) UnmarshalJSON(src []byte) error

func (*NullablePayrunResponse) Unset

func (v *NullablePayrunResponse) Unset()

type NullablePayslipResponse

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

func NewNullablePayslipResponse

func NewNullablePayslipResponse(val *PayslipResponse) *NullablePayslipResponse

func (NullablePayslipResponse) Get

func (NullablePayslipResponse) IsSet

func (v NullablePayslipResponse) IsSet() bool

func (NullablePayslipResponse) MarshalJSON

func (v NullablePayslipResponse) MarshalJSON() ([]byte, error)

func (*NullablePayslipResponse) Set

func (*NullablePayslipResponse) UnmarshalJSON

func (v *NullablePayslipResponse) UnmarshalJSON(src []byte) error

func (*NullablePayslipResponse) Unset

func (v *NullablePayslipResponse) Unset()

type NullablePayslipResponseContributions

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

func (NullablePayslipResponseContributions) Get

func (NullablePayslipResponseContributions) IsSet

func (NullablePayslipResponseContributions) MarshalJSON

func (v NullablePayslipResponseContributions) MarshalJSON() ([]byte, error)

func (*NullablePayslipResponseContributions) Set

func (*NullablePayslipResponseContributions) UnmarshalJSON

func (v *NullablePayslipResponseContributions) UnmarshalJSON(src []byte) error

func (*NullablePayslipResponseContributions) Unset

type NullablePayslipResponseDeductions

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

func (NullablePayslipResponseDeductions) Get

func (NullablePayslipResponseDeductions) IsSet

func (NullablePayslipResponseDeductions) MarshalJSON

func (v NullablePayslipResponseDeductions) MarshalJSON() ([]byte, error)

func (*NullablePayslipResponseDeductions) Set

func (*NullablePayslipResponseDeductions) UnmarshalJSON

func (v *NullablePayslipResponseDeductions) UnmarshalJSON(src []byte) error

func (*NullablePayslipResponseDeductions) Unset

type NullablePayslipResponseEarnings

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

func (NullablePayslipResponseEarnings) Get

func (NullablePayslipResponseEarnings) IsSet

func (NullablePayslipResponseEarnings) MarshalJSON

func (v NullablePayslipResponseEarnings) MarshalJSON() ([]byte, error)

func (*NullablePayslipResponseEarnings) Set

func (*NullablePayslipResponseEarnings) UnmarshalJSON

func (v *NullablePayslipResponseEarnings) UnmarshalJSON(src []byte) error

func (*NullablePayslipResponseEarnings) Unset

type NullablePayslipResponseTaxes

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

func NewNullablePayslipResponseTaxes

func NewNullablePayslipResponseTaxes(val *PayslipResponseTaxes) *NullablePayslipResponseTaxes

func (NullablePayslipResponseTaxes) Get

func (NullablePayslipResponseTaxes) IsSet

func (NullablePayslipResponseTaxes) MarshalJSON

func (v NullablePayslipResponseTaxes) MarshalJSON() ([]byte, error)

func (*NullablePayslipResponseTaxes) Set

func (*NullablePayslipResponseTaxes) UnmarshalJSON

func (v *NullablePayslipResponseTaxes) UnmarshalJSON(src []byte) error

func (*NullablePayslipResponseTaxes) Unset

func (v *NullablePayslipResponseTaxes) Unset()

type NullableProviderRequest

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

func NewNullableProviderRequest

func NewNullableProviderRequest(val *ProviderRequest) *NullableProviderRequest

func (NullableProviderRequest) Get

func (NullableProviderRequest) IsSet

func (v NullableProviderRequest) IsSet() bool

func (NullableProviderRequest) MarshalJSON

func (v NullableProviderRequest) MarshalJSON() ([]byte, error)

func (*NullableProviderRequest) Set

func (*NullableProviderRequest) UnmarshalJSON

func (v *NullableProviderRequest) UnmarshalJSON(src []byte) error

func (*NullableProviderRequest) Unset

func (v *NullableProviderRequest) Unset()

type NullableProviderResponse

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

func NewNullableProviderResponse

func NewNullableProviderResponse(val *ProviderResponse) *NullableProviderResponse

func (NullableProviderResponse) Get

func (NullableProviderResponse) IsSet

func (v NullableProviderResponse) IsSet() bool

func (NullableProviderResponse) MarshalJSON

func (v NullableProviderResponse) MarshalJSON() ([]byte, error)

func (*NullableProviderResponse) Set

func (*NullableProviderResponse) UnmarshalJSON

func (v *NullableProviderResponse) UnmarshalJSON(src []byte) error

func (*NullableProviderResponse) Unset

func (v *NullableProviderResponse) Unset()

type NullableScopesRequest

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

func NewNullableScopesRequest

func NewNullableScopesRequest(val *ScopesRequest) *NullableScopesRequest

func (NullableScopesRequest) Get

func (NullableScopesRequest) IsSet

func (v NullableScopesRequest) IsSet() bool

func (NullableScopesRequest) MarshalJSON

func (v NullableScopesRequest) MarshalJSON() ([]byte, error)

func (*NullableScopesRequest) Set

func (v *NullableScopesRequest) Set(val *ScopesRequest)

func (*NullableScopesRequest) UnmarshalJSON

func (v *NullableScopesRequest) UnmarshalJSON(src []byte) error

func (*NullableScopesRequest) Unset

func (v *NullableScopesRequest) Unset()

type NullableScopesResponse

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

func NewNullableScopesResponse

func NewNullableScopesResponse(val *ScopesResponse) *NullableScopesResponse

func (NullableScopesResponse) Get

func (NullableScopesResponse) IsSet

func (v NullableScopesResponse) IsSet() bool

func (NullableScopesResponse) MarshalJSON

func (v NullableScopesResponse) MarshalJSON() ([]byte, error)

func (*NullableScopesResponse) Set

func (*NullableScopesResponse) UnmarshalJSON

func (v *NullableScopesResponse) UnmarshalJSON(src []byte) error

func (*NullableScopesResponse) Unset

func (v *NullableScopesResponse) 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 NullableTimeOffBalanceResponse

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

func (NullableTimeOffBalanceResponse) Get

func (NullableTimeOffBalanceResponse) IsSet

func (NullableTimeOffBalanceResponse) MarshalJSON

func (v NullableTimeOffBalanceResponse) MarshalJSON() ([]byte, error)

func (*NullableTimeOffBalanceResponse) Set

func (*NullableTimeOffBalanceResponse) UnmarshalJSON

func (v *NullableTimeOffBalanceResponse) UnmarshalJSON(src []byte) error

func (*NullableTimeOffBalanceResponse) Unset

func (v *NullableTimeOffBalanceResponse) Unset()

type NullableTimeOffEntryResponse

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

func NewNullableTimeOffEntryResponse

func NewNullableTimeOffEntryResponse(val *TimeOffEntryResponse) *NullableTimeOffEntryResponse

func (NullableTimeOffEntryResponse) Get

func (NullableTimeOffEntryResponse) IsSet

func (NullableTimeOffEntryResponse) MarshalJSON

func (v NullableTimeOffEntryResponse) MarshalJSON() ([]byte, error)

func (*NullableTimeOffEntryResponse) Set

func (*NullableTimeOffEntryResponse) UnmarshalJSON

func (v *NullableTimeOffEntryResponse) UnmarshalJSON(src []byte) error

func (*NullableTimeOffEntryResponse) Unset

func (v *NullableTimeOffEntryResponse) Unset()

type NullableTimesheetResponse

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

func NewNullableTimesheetResponse

func NewNullableTimesheetResponse(val *TimesheetResponse) *NullableTimesheetResponse

func (NullableTimesheetResponse) Get

func (NullableTimesheetResponse) IsSet

func (v NullableTimesheetResponse) IsSet() bool

func (NullableTimesheetResponse) MarshalJSON

func (v NullableTimesheetResponse) MarshalJSON() ([]byte, error)

func (*NullableTimesheetResponse) Set

func (*NullableTimesheetResponse) UnmarshalJSON

func (v *NullableTimesheetResponse) UnmarshalJSON(src []byte) error

func (*NullableTimesheetResponse) Unset

func (v *NullableTimesheetResponse) Unset()

type NullableTokenRequest

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

func NewNullableTokenRequest

func NewNullableTokenRequest(val *TokenRequest) *NullableTokenRequest

func (NullableTokenRequest) Get

func (NullableTokenRequest) IsSet

func (v NullableTokenRequest) IsSet() bool

func (NullableTokenRequest) MarshalJSON

func (v NullableTokenRequest) MarshalJSON() ([]byte, error)

func (*NullableTokenRequest) Set

func (v *NullableTokenRequest) Set(val *TokenRequest)

func (*NullableTokenRequest) UnmarshalJSON

func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error

func (*NullableTokenRequest) Unset

func (v *NullableTokenRequest) Unset()

type NullableTokenResponse

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

func NewNullableTokenResponse

func NewNullableTokenResponse(val *TokenResponse) *NullableTokenResponse

func (NullableTokenResponse) Get

func (NullableTokenResponse) IsSet

func (v NullableTokenResponse) IsSet() bool

func (NullableTokenResponse) MarshalJSON

func (v NullableTokenResponse) MarshalJSON() ([]byte, error)

func (*NullableTokenResponse) Set

func (v *NullableTokenResponse) Set(val *TokenResponse)

func (*NullableTokenResponse) UnmarshalJSON

func (v *NullableTokenResponse) UnmarshalJSON(src []byte) error

func (*NullableTokenResponse) Unset

func (v *NullableTokenResponse) Unset()

type PayrunResponse

type PayrunResponse struct {
	// The Affix-assigned id of the individual
	Id string `json:"id"`
	// the remote system-assigned id of the payrun
	RemoteId string         `json:"remote_id"`
	RunState string         `json:"run_state"`
	RunType  NullableString `json:"run_type"`
	// Payrun period start date
	StartDate NullableString `json:"start_date"`
	// Payrun period end date
	EndDate NullableString `json:"end_date"`
	// Payment date / check date
	PaymentDate NullableString `json:"payment_date"`
}

PayrunResponse struct for PayrunResponse

func NewPayrunResponse

func NewPayrunResponse(id string, remoteId string, runState string, runType NullableString, startDate NullableString, endDate NullableString, paymentDate NullableString) *PayrunResponse

NewPayrunResponse instantiates a new PayrunResponse 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 NewPayrunResponseWithDefaults

func NewPayrunResponseWithDefaults() *PayrunResponse

NewPayrunResponseWithDefaults instantiates a new PayrunResponse 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 (*PayrunResponse) GetEndDate

func (o *PayrunResponse) GetEndDate() string

GetEndDate returns the EndDate field value If the value is explicit nil, the zero value for string will be returned

func (*PayrunResponse) GetEndDateOk

func (o *PayrunResponse) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PayrunResponse) GetId

func (o *PayrunResponse) GetId() string

GetId returns the Id field value

func (*PayrunResponse) GetIdOk

func (o *PayrunResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PayrunResponse) GetPaymentDate

func (o *PayrunResponse) GetPaymentDate() string

GetPaymentDate returns the PaymentDate field value If the value is explicit nil, the zero value for string will be returned

func (*PayrunResponse) GetPaymentDateOk

func (o *PayrunResponse) GetPaymentDateOk() (*string, bool)

GetPaymentDateOk returns a tuple with the PaymentDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PayrunResponse) GetRemoteId

func (o *PayrunResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*PayrunResponse) GetRemoteIdOk

func (o *PayrunResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*PayrunResponse) GetRunState

func (o *PayrunResponse) GetRunState() string

GetRunState returns the RunState field value

func (*PayrunResponse) GetRunStateOk

func (o *PayrunResponse) GetRunStateOk() (*string, bool)

GetRunStateOk returns a tuple with the RunState field value and a boolean to check if the value has been set.

func (*PayrunResponse) GetRunType

func (o *PayrunResponse) GetRunType() string

GetRunType returns the RunType field value If the value is explicit nil, the zero value for string will be returned

func (*PayrunResponse) GetRunTypeOk

func (o *PayrunResponse) GetRunTypeOk() (*string, bool)

GetRunTypeOk returns a tuple with the RunType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PayrunResponse) GetStartDate

func (o *PayrunResponse) GetStartDate() string

GetStartDate returns the StartDate field value If the value is explicit nil, the zero value for string will be returned

func (*PayrunResponse) GetStartDateOk

func (o *PayrunResponse) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (PayrunResponse) MarshalJSON

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

func (*PayrunResponse) SetEndDate

func (o *PayrunResponse) SetEndDate(v string)

SetEndDate sets field value

func (*PayrunResponse) SetId

func (o *PayrunResponse) SetId(v string)

SetId sets field value

func (*PayrunResponse) SetPaymentDate

func (o *PayrunResponse) SetPaymentDate(v string)

SetPaymentDate sets field value

func (*PayrunResponse) SetRemoteId

func (o *PayrunResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*PayrunResponse) SetRunState

func (o *PayrunResponse) SetRunState(v string)

SetRunState sets field value

func (*PayrunResponse) SetRunType

func (o *PayrunResponse) SetRunType(v string)

SetRunType sets field value

func (*PayrunResponse) SetStartDate

func (o *PayrunResponse) SetStartDate(v string)

SetStartDate sets field value

type PayslipResponse

type PayslipResponse struct {
	// The Affix-assigned id of the payslip
	Id string `json:"id"`
	// the remote system-assigned id of the payrun
	RemoteId   string `json:"remote_id"`
	EmployeeId string `json:"employee_id"`
	PayrunId   string `json:"payrun_id"`
	Currency   string `json:"currency"`
	// if USD/EUR/GBP, in cent
	GrossPay float32 `json:"gross_pay"`
	// if USD/EUR/GBP, in cent
	NetPay      float32                   `json:"net_pay"`
	StartDate   string                    `json:"start_date"`
	EndDate     string                    `json:"end_date"`
	PaymentDate string                    `json:"payment_date"`
	Earnings    []PayslipResponseEarnings `json:"earnings"`
	// Items paid by the employer that are not included in gross pay, such as employer-paid portion of private health insurance
	Contributions []PayslipResponseContributions `json:"contributions"`
	Deductions    []PayslipResponseDeductions    `json:"deductions"`
	Taxes         []PayslipResponseTaxes         `json:"taxes"`
}

PayslipResponse struct for PayslipResponse

func NewPayslipResponse

func NewPayslipResponse(id string, remoteId string, employeeId string, payrunId string, currency string, grossPay float32, netPay float32, startDate string, endDate string, paymentDate string, earnings []PayslipResponseEarnings, contributions []PayslipResponseContributions, deductions []PayslipResponseDeductions, taxes []PayslipResponseTaxes) *PayslipResponse

NewPayslipResponse instantiates a new PayslipResponse 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 NewPayslipResponseWithDefaults

func NewPayslipResponseWithDefaults() *PayslipResponse

NewPayslipResponseWithDefaults instantiates a new PayslipResponse 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 (*PayslipResponse) GetContributions

func (o *PayslipResponse) GetContributions() []PayslipResponseContributions

GetContributions returns the Contributions field value If the value is explicit nil, the zero value for []PayslipResponseContributions will be returned

func (*PayslipResponse) GetContributionsOk

func (o *PayslipResponse) GetContributionsOk() (*[]PayslipResponseContributions, bool)

GetContributionsOk returns a tuple with the Contributions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PayslipResponse) GetCurrency

func (o *PayslipResponse) GetCurrency() string

GetCurrency returns the Currency field value

func (*PayslipResponse) GetCurrencyOk

func (o *PayslipResponse) GetCurrencyOk() (*string, bool)

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

func (*PayslipResponse) GetDeductions

func (o *PayslipResponse) GetDeductions() []PayslipResponseDeductions

GetDeductions returns the Deductions field value

func (*PayslipResponse) GetDeductionsOk

func (o *PayslipResponse) GetDeductionsOk() (*[]PayslipResponseDeductions, bool)

GetDeductionsOk returns a tuple with the Deductions field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetEarnings

func (o *PayslipResponse) GetEarnings() []PayslipResponseEarnings

GetEarnings returns the Earnings field value

func (*PayslipResponse) GetEarningsOk

func (o *PayslipResponse) GetEarningsOk() (*[]PayslipResponseEarnings, bool)

GetEarningsOk returns a tuple with the Earnings field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetEmployeeId

func (o *PayslipResponse) GetEmployeeId() string

GetEmployeeId returns the EmployeeId field value

func (*PayslipResponse) GetEmployeeIdOk

func (o *PayslipResponse) GetEmployeeIdOk() (*string, bool)

GetEmployeeIdOk returns a tuple with the EmployeeId field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetEndDate

func (o *PayslipResponse) GetEndDate() string

GetEndDate returns the EndDate field value

func (*PayslipResponse) GetEndDateOk

func (o *PayslipResponse) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetGrossPay

func (o *PayslipResponse) GetGrossPay() float32

GetGrossPay returns the GrossPay field value

func (*PayslipResponse) GetGrossPayOk

func (o *PayslipResponse) GetGrossPayOk() (*float32, bool)

GetGrossPayOk returns a tuple with the GrossPay field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetId

func (o *PayslipResponse) GetId() string

GetId returns the Id field value

func (*PayslipResponse) GetIdOk

func (o *PayslipResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetNetPay

func (o *PayslipResponse) GetNetPay() float32

GetNetPay returns the NetPay field value

func (*PayslipResponse) GetNetPayOk

func (o *PayslipResponse) GetNetPayOk() (*float32, bool)

GetNetPayOk returns a tuple with the NetPay field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetPaymentDate

func (o *PayslipResponse) GetPaymentDate() string

GetPaymentDate returns the PaymentDate field value

func (*PayslipResponse) GetPaymentDateOk

func (o *PayslipResponse) GetPaymentDateOk() (*string, bool)

GetPaymentDateOk returns a tuple with the PaymentDate field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetPayrunId

func (o *PayslipResponse) GetPayrunId() string

GetPayrunId returns the PayrunId field value

func (*PayslipResponse) GetPayrunIdOk

func (o *PayslipResponse) GetPayrunIdOk() (*string, bool)

GetPayrunIdOk returns a tuple with the PayrunId field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetRemoteId

func (o *PayslipResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*PayslipResponse) GetRemoteIdOk

func (o *PayslipResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetStartDate

func (o *PayslipResponse) GetStartDate() string

GetStartDate returns the StartDate field value

func (*PayslipResponse) GetStartDateOk

func (o *PayslipResponse) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set.

func (*PayslipResponse) GetTaxes

func (o *PayslipResponse) GetTaxes() []PayslipResponseTaxes

GetTaxes returns the Taxes field value

func (*PayslipResponse) GetTaxesOk

func (o *PayslipResponse) GetTaxesOk() (*[]PayslipResponseTaxes, bool)

GetTaxesOk returns a tuple with the Taxes field value and a boolean to check if the value has been set.

func (PayslipResponse) MarshalJSON

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

func (*PayslipResponse) SetContributions

func (o *PayslipResponse) SetContributions(v []PayslipResponseContributions)

SetContributions sets field value

func (*PayslipResponse) SetCurrency

func (o *PayslipResponse) SetCurrency(v string)

SetCurrency sets field value

func (*PayslipResponse) SetDeductions

func (o *PayslipResponse) SetDeductions(v []PayslipResponseDeductions)

SetDeductions sets field value

func (*PayslipResponse) SetEarnings

func (o *PayslipResponse) SetEarnings(v []PayslipResponseEarnings)

SetEarnings sets field value

func (*PayslipResponse) SetEmployeeId

func (o *PayslipResponse) SetEmployeeId(v string)

SetEmployeeId sets field value

func (*PayslipResponse) SetEndDate

func (o *PayslipResponse) SetEndDate(v string)

SetEndDate sets field value

func (*PayslipResponse) SetGrossPay

func (o *PayslipResponse) SetGrossPay(v float32)

SetGrossPay sets field value

func (*PayslipResponse) SetId

func (o *PayslipResponse) SetId(v string)

SetId sets field value

func (*PayslipResponse) SetNetPay

func (o *PayslipResponse) SetNetPay(v float32)

SetNetPay sets field value

func (*PayslipResponse) SetPaymentDate

func (o *PayslipResponse) SetPaymentDate(v string)

SetPaymentDate sets field value

func (*PayslipResponse) SetPayrunId

func (o *PayslipResponse) SetPayrunId(v string)

SetPayrunId sets field value

func (*PayslipResponse) SetRemoteId

func (o *PayslipResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*PayslipResponse) SetStartDate

func (o *PayslipResponse) SetStartDate(v string)

SetStartDate sets field value

func (*PayslipResponse) SetTaxes

func (o *PayslipResponse) SetTaxes(v []PayslipResponseTaxes)

SetTaxes sets field value

type PayslipResponseContributions

type PayslipResponseContributions struct {
	Name string `json:"name"`
	// if USD/EUR/GBP, in cent
	Amount float32 `json:"amount"`
}

PayslipResponseContributions struct for PayslipResponseContributions

func NewPayslipResponseContributions

func NewPayslipResponseContributions(name string, amount float32) *PayslipResponseContributions

NewPayslipResponseContributions instantiates a new PayslipResponseContributions 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 NewPayslipResponseContributionsWithDefaults

func NewPayslipResponseContributionsWithDefaults() *PayslipResponseContributions

NewPayslipResponseContributionsWithDefaults instantiates a new PayslipResponseContributions 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 (*PayslipResponseContributions) GetAmount

func (o *PayslipResponseContributions) GetAmount() float32

GetAmount returns the Amount field value

func (*PayslipResponseContributions) GetAmountOk

func (o *PayslipResponseContributions) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*PayslipResponseContributions) GetName

func (o *PayslipResponseContributions) GetName() string

GetName returns the Name field value

func (*PayslipResponseContributions) GetNameOk

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

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

func (PayslipResponseContributions) MarshalJSON

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

func (*PayslipResponseContributions) SetAmount

func (o *PayslipResponseContributions) SetAmount(v float32)

SetAmount sets field value

func (*PayslipResponseContributions) SetName

func (o *PayslipResponseContributions) SetName(v string)

SetName sets field value

type PayslipResponseDeductions

type PayslipResponseDeductions struct {
	Name string `json:"name"`
	// if USD/EUR/GBP, in cent
	Amount float32 `json:"amount"`
}

PayslipResponseDeductions struct for PayslipResponseDeductions

func NewPayslipResponseDeductions

func NewPayslipResponseDeductions(name string, amount float32) *PayslipResponseDeductions

NewPayslipResponseDeductions instantiates a new PayslipResponseDeductions 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 NewPayslipResponseDeductionsWithDefaults

func NewPayslipResponseDeductionsWithDefaults() *PayslipResponseDeductions

NewPayslipResponseDeductionsWithDefaults instantiates a new PayslipResponseDeductions 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 (*PayslipResponseDeductions) GetAmount

func (o *PayslipResponseDeductions) GetAmount() float32

GetAmount returns the Amount field value

func (*PayslipResponseDeductions) GetAmountOk

func (o *PayslipResponseDeductions) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*PayslipResponseDeductions) GetName

func (o *PayslipResponseDeductions) GetName() string

GetName returns the Name field value

func (*PayslipResponseDeductions) GetNameOk

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

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

func (PayslipResponseDeductions) MarshalJSON

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

func (*PayslipResponseDeductions) SetAmount

func (o *PayslipResponseDeductions) SetAmount(v float32)

SetAmount sets field value

func (*PayslipResponseDeductions) SetName

func (o *PayslipResponseDeductions) SetName(v string)

SetName sets field value

type PayslipResponseEarnings

type PayslipResponseEarnings struct {
	Name string `json:"name"`
	// if USD/EUR/GBP, in cent
	Amount float32 `json:"amount"`
	// hours, if applicable
	Hours NullableFloat32 `json:"hours"`
}

PayslipResponseEarnings The breakdown of gross pay

func NewPayslipResponseEarnings

func NewPayslipResponseEarnings(name string, amount float32, hours NullableFloat32) *PayslipResponseEarnings

NewPayslipResponseEarnings instantiates a new PayslipResponseEarnings 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 NewPayslipResponseEarningsWithDefaults

func NewPayslipResponseEarningsWithDefaults() *PayslipResponseEarnings

NewPayslipResponseEarningsWithDefaults instantiates a new PayslipResponseEarnings 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 (*PayslipResponseEarnings) GetAmount

func (o *PayslipResponseEarnings) GetAmount() float32

GetAmount returns the Amount field value

func (*PayslipResponseEarnings) GetAmountOk

func (o *PayslipResponseEarnings) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*PayslipResponseEarnings) GetHours

func (o *PayslipResponseEarnings) GetHours() float32

GetHours returns the Hours field value If the value is explicit nil, the zero value for float32 will be returned

func (*PayslipResponseEarnings) GetHoursOk

func (o *PayslipResponseEarnings) GetHoursOk() (*float32, bool)

GetHoursOk returns a tuple with the Hours field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PayslipResponseEarnings) GetName

func (o *PayslipResponseEarnings) GetName() string

GetName returns the Name field value

func (*PayslipResponseEarnings) GetNameOk

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

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

func (PayslipResponseEarnings) MarshalJSON

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

func (*PayslipResponseEarnings) SetAmount

func (o *PayslipResponseEarnings) SetAmount(v float32)

SetAmount sets field value

func (*PayslipResponseEarnings) SetHours

func (o *PayslipResponseEarnings) SetHours(v float32)

SetHours sets field value

func (*PayslipResponseEarnings) SetName

func (o *PayslipResponseEarnings) SetName(v string)

SetName sets field value

type PayslipResponseTaxes

type PayslipResponseTaxes struct {
	Name string `json:"name"`
	// if USD/EUR/GBP, in cent
	Amount      float32      `json:"amount"`
	EmployerTax NullableBool `json:"employer_tax"`
}

PayslipResponseTaxes struct for PayslipResponseTaxes

func NewPayslipResponseTaxes

func NewPayslipResponseTaxes(name string, amount float32, employerTax NullableBool) *PayslipResponseTaxes

NewPayslipResponseTaxes instantiates a new PayslipResponseTaxes 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 NewPayslipResponseTaxesWithDefaults

func NewPayslipResponseTaxesWithDefaults() *PayslipResponseTaxes

NewPayslipResponseTaxesWithDefaults instantiates a new PayslipResponseTaxes 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 (*PayslipResponseTaxes) GetAmount

func (o *PayslipResponseTaxes) GetAmount() float32

GetAmount returns the Amount field value

func (*PayslipResponseTaxes) GetAmountOk

func (o *PayslipResponseTaxes) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*PayslipResponseTaxes) GetEmployerTax

func (o *PayslipResponseTaxes) GetEmployerTax() bool

GetEmployerTax returns the EmployerTax field value If the value is explicit nil, the zero value for bool will be returned

func (*PayslipResponseTaxes) GetEmployerTaxOk

func (o *PayslipResponseTaxes) GetEmployerTaxOk() (*bool, bool)

GetEmployerTaxOk returns a tuple with the EmployerTax field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PayslipResponseTaxes) GetName

func (o *PayslipResponseTaxes) GetName() string

GetName returns the Name field value

func (*PayslipResponseTaxes) GetNameOk

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

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

func (PayslipResponseTaxes) MarshalJSON

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

func (*PayslipResponseTaxes) SetAmount

func (o *PayslipResponseTaxes) SetAmount(v float32)

SetAmount sets field value

func (*PayslipResponseTaxes) SetEmployerTax

func (o *PayslipResponseTaxes) SetEmployerTax(v bool)

SetEmployerTax sets field value

func (*PayslipResponseTaxes) SetName

func (o *PayslipResponseTaxes) SetName(v string)

SetName sets field value

type ProviderRequest

type ProviderRequest string

ProviderRequest the model 'ProviderRequest'

const (
	SANDBOX           ProviderRequest = "sandbox"
	BAMBOOHR          ProviderRequest = "bamboohr"
	BREATHE           ProviderRequest = "breathe"
	CEZANNE           ProviderRequest = "cezanne"
	CHARLIEHR         ProviderRequest = "charliehr"
	DEEL              ProviderRequest = "deel"
	DEPUTY            ProviderRequest = "deputy"
	HAILYHR           ProviderRequest = "hailyhr"
	HIBOB             ProviderRequest = "hibob"
	HUMAANS           ProviderRequest = "humaans"
	IRIS_CASCADE      ProviderRequest = "iris cascade"
	MOOREPAY          ProviderRequest = "moorepay"
	NMBRS             ProviderRequest = "nmbrs"
	PAROLLA_IE        ProviderRequest = "parolla.ie"
	PAYFIT            ProviderRequest = "payfit"
	PERSONIO_DE       ProviderRequest = "personio.de"
	PLANDAY           ProviderRequest = "planday"
	SAGEHR            ProviderRequest = "sagehr"
	SAPLINGHR         ProviderRequest = "saplinghr"
	STAFFOLOGY        ProviderRequest = "staffology"
	XERO_UK           ProviderRequest = "xero uk"
	BRAIN_PAYROLL     ProviderRequest = "brain payroll"
	BRIGHTPAY_CONNECT ProviderRequest = "brightpay connect"
	EMPLOYMENT_HERO   ProviderRequest = "employment hero"
	FACTORIALHR       ProviderRequest = "factorialhr"
	FOURTHHR          ProviderRequest = "fourthhr"
	GUSTO             ProviderRequest = "gusto"
	ITRENT            ProviderRequest = "itrent"
	JUSTWORKS         ProviderRequest = "justworks"
	ONPAY             ProviderRequest = "onpay"
	OYSTERHR          ProviderRequest = "oysterhr"
	PAYCIRCLE         ProviderRequest = "paycircle"
	PENTO_IO          ProviderRequest = "pento.io"
	PEOPLEHR          ProviderRequest = "peoplehr"
	REMOTE_COM        ProviderRequest = "remote.com"
	RIPPLING          ProviderRequest = "rippling"
	SAGEONE           ProviderRequest = "sageone"
	SHAPE_PAYROLL     ProviderRequest = "shape payroll"
	SIMPLEPAY_IE      ProviderRequest = "simplepay.ie"
	QUICKBOOKS_ONLINE ProviderRequest = "quickbooks online"
	ZOHO              ProviderRequest = "zoho"
)

List of ProviderRequest

func NewProviderRequestFromValue

func NewProviderRequestFromValue(v string) (*ProviderRequest, error)

NewProviderRequestFromValue returns a pointer to a valid ProviderRequest for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProviderRequest) IsValid

func (v ProviderRequest) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProviderRequest) Ptr

Ptr returns reference to ProviderRequest value

func (*ProviderRequest) UnmarshalJSON

func (v *ProviderRequest) UnmarshalJSON(src []byte) error

type ProviderResponse

type ProviderResponse string

ProviderResponse the model 'ProviderResponse'

const (
	SANDBOX           ProviderResponse = "sandbox"
	BAMBOOHR          ProviderResponse = "bamboohr"
	BREATHE           ProviderResponse = "breathe"
	CEZANNE           ProviderResponse = "cezanne"
	CHARLIEHR         ProviderResponse = "charliehr"
	DEEL              ProviderResponse = "deel"
	DEPUTY            ProviderResponse = "deputy"
	HAILYHR           ProviderResponse = "hailyhr"
	HIBOB             ProviderResponse = "hibob"
	HUMAANS           ProviderResponse = "humaans"
	IRIS_CASCADE      ProviderResponse = "iris cascade"
	MOOREPAY          ProviderResponse = "moorepay"
	NMBRS             ProviderResponse = "nmbrs"
	PAROLLA_IE        ProviderResponse = "parolla.ie"
	PAYFIT            ProviderResponse = "payfit"
	PERSONIO_DE       ProviderResponse = "personio.de"
	PLANDAY           ProviderResponse = "planday"
	SAGEHR            ProviderResponse = "sagehr"
	SAPLINGHR         ProviderResponse = "saplinghr"
	STAFFOLOGY        ProviderResponse = "staffology"
	XERO_UK           ProviderResponse = "xero uk"
	BRAIN_PAYROLL     ProviderResponse = "brain payroll"
	BRIGHTPAY_CONNECT ProviderResponse = "brightpay connect"
	EMPLOYMENT_HERO   ProviderResponse = "employment hero"
	FACTORIALHR       ProviderResponse = "factorialhr"
	FOURTHHR          ProviderResponse = "fourthhr"
	GUSTO             ProviderResponse = "gusto"
	ITRENT            ProviderResponse = "itrent"
	JUSTWORKS         ProviderResponse = "justworks"
	ONPAY             ProviderResponse = "onpay"
	OYSTERHR          ProviderResponse = "oysterhr"
	PAYCIRCLE         ProviderResponse = "paycircle"
	PENTO_IO          ProviderResponse = "pento.io"
	PEOPLEHR          ProviderResponse = "peoplehr"
	REMOTE_COM        ProviderResponse = "remote.com"
	RIPPLING          ProviderResponse = "rippling"
	SAGEONE           ProviderResponse = "sageone"
	SHAPE_PAYROLL     ProviderResponse = "shape payroll"
	SIMPLEPAY_IE      ProviderResponse = "simplepay.ie"
	QUICKBOOKS_ONLINE ProviderResponse = "quickbooks online"
	ZOHO              ProviderResponse = "zoho"
)

List of ProviderResponse

func NewProviderResponseFromValue

func NewProviderResponseFromValue(v string) (*ProviderResponse, error)

NewProviderResponseFromValue returns a pointer to a valid ProviderResponse for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProviderResponse) IsValid

func (v ProviderResponse) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ProviderResponse) Ptr

Ptr returns reference to ProviderResponse value

func (*ProviderResponse) UnmarshalJSON

func (v *ProviderResponse) UnmarshalJSON(src []byte) error

type ScopesRequest

type ScopesRequest string

ScopesRequest the model 'ScopesRequest'

const (
	OFFICIAL_COMPANY           ScopesRequest = "/2023-03-01/official/company"
	OFFICIAL_EMPLOYEE          ScopesRequest = "/2023-03-01/official/employee"
	OFFICIAL_EMPLOYEES         ScopesRequest = "/2023-03-01/official/employees"
	OFFICIAL_GROUPS            ScopesRequest = "/2023-03-01/official/groups"
	OFFICIAL_IDENTITY          ScopesRequest = "/2023-03-01/official/identity"
	OFFICIAL_TIME_OFF_BALANCES ScopesRequest = "/2023-03-01/official/time-off-balances"
	OFFICIAL_TIME_OFF_ENTRIES  ScopesRequest = "/2023-03-01/official/time-off-entries"
	OFFICIAL_TIMESHEETS        ScopesRequest = "/2023-03-01/official/timesheets"
	OFFICIAL_WORK_LOCATIONS    ScopesRequest = "/2023-03-01/official/work-locations"
	XHR_COMPANY                ScopesRequest = "/2023-03-01/xhr/company"
	XHR_EMPLOYEE               ScopesRequest = "/2023-03-01/xhr/employee"
	XHR_EMPLOYEES              ScopesRequest = "/2023-03-01/xhr/employees"
	XHR_GROUPS                 ScopesRequest = "/2023-03-01/xhr/groups"
	XHR_IDENTITY               ScopesRequest = "/2023-03-01/xhr/identity"
	XHR_PAYRUNS                ScopesRequest = "/2023-03-01/xhr/payruns"
	XHR_PAYRUNS_PAYRUN_ID      ScopesRequest = "/2023-03-01/xhr/payruns/:payrun_id"
	XHR_TIME_OFF_BALANCES      ScopesRequest = "/2023-03-01/xhr/time-off-balances"
	XHR_TIME_OFF_ENTRIES       ScopesRequest = "/2023-03-01/xhr/time-off-entries"
	XHR_TIMESHEETS             ScopesRequest = "/2023-03-01/xhr/timesheets"
	XHR_WORK_LOCATIONS         ScopesRequest = "/2023-03-01/xhr/work-locations"
)

List of ScopesRequest

func NewScopesRequestFromValue

func NewScopesRequestFromValue(v string) (*ScopesRequest, error)

NewScopesRequestFromValue returns a pointer to a valid ScopesRequest for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ScopesRequest) IsValid

func (v ScopesRequest) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ScopesRequest) Ptr

func (v ScopesRequest) Ptr() *ScopesRequest

Ptr returns reference to ScopesRequest value

func (*ScopesRequest) UnmarshalJSON

func (v *ScopesRequest) UnmarshalJSON(src []byte) error

type ScopesResponse

type ScopesResponse string

ScopesResponse the model 'ScopesResponse'

const (
	OFFICIAL_COMPANY           ScopesResponse = "/2023-03-01/official/company"
	OFFICIAL_EMPLOYEE          ScopesResponse = "/2023-03-01/official/employee"
	OFFICIAL_EMPLOYEES         ScopesResponse = "/2023-03-01/official/employees"
	OFFICIAL_GROUPS            ScopesResponse = "/2023-03-01/official/groups"
	OFFICIAL_IDENTITY          ScopesResponse = "/2023-03-01/official/identity"
	OFFICIAL_TIME_OFF_BALANCES ScopesResponse = "/2023-03-01/official/time-off-balances"
	OFFICIAL_TIME_OFF_ENTRIES  ScopesResponse = "/2023-03-01/official/time-off-entries"
	OFFICIAL_TIMESHEETS        ScopesResponse = "/2023-03-01/official/timesheets"
	OFFICIAL_WORK_LOCATIONS    ScopesResponse = "/2023-03-01/official/work-locations"
	XHR_COMPANY                ScopesResponse = "/2023-03-01/xhr/company"
	XHR_EMPLOYEE               ScopesResponse = "/2023-03-01/xhr/employee"
	XHR_EMPLOYEES              ScopesResponse = "/2023-03-01/xhr/employees"
	XHR_GROUPS                 ScopesResponse = "/2023-03-01/xhr/groups"
	XHR_IDENTITY               ScopesResponse = "/2023-03-01/xhr/identity"
	XHR_PAYRUNS                ScopesResponse = "/2023-03-01/xhr/payruns"
	XHR_PAYRUNS_PAYRUN_ID      ScopesResponse = "/2023-03-01/xhr/payruns/:payrun_id"
	XHR_TIME_OFF_BALANCES      ScopesResponse = "/2023-03-01/xhr/time-off-balances"
	XHR_TIME_OFF_ENTRIES       ScopesResponse = "/2023-03-01/xhr/time-off-entries"
	XHR_TIMESHEETS             ScopesResponse = "/2023-03-01/xhr/timesheets"
	XHR_WORK_LOCATIONS         ScopesResponse = "/2023-03-01/xhr/work-locations"
)

List of ScopesResponse

func NewScopesResponseFromValue

func NewScopesResponseFromValue(v string) (*ScopesResponse, error)

NewScopesResponseFromValue returns a pointer to a valid ScopesResponse for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ScopesResponse) IsValid

func (v ScopesResponse) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ScopesResponse) Ptr

func (v ScopesResponse) Ptr() *ScopesResponse

Ptr returns reference to ScopesResponse value

func (*ScopesResponse) UnmarshalJSON

func (v *ScopesResponse) UnmarshalJSON(src []byte) error

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type TimeOffBalanceResponse

type TimeOffBalanceResponse struct {
	// The Affix-assigned id of the individual
	EmployeeId string `json:"employee_id"`
	// the remote system-assigned id of the individual
	RemoteId string          `json:"remote_id"`
	Balance  NullableFloat32 `json:"balance"`
	Used     NullableFloat32 `json:"used"`
	// The name of the policy, as assigned by the remote system
	PolicyName       NullableString `json:"policy_name"`
	PolicyType       NullableString `json:"policy_type"`
	RemoteCreatedAt  NullableString `json:"remote_created_at"`
	RemoteModifiedAt NullableString `json:"remote_modified_at"`
}

TimeOffBalanceResponse struct for TimeOffBalanceResponse

func NewTimeOffBalanceResponse

func NewTimeOffBalanceResponse(employeeId string, remoteId string, balance NullableFloat32, used NullableFloat32, policyName NullableString, policyType NullableString, remoteCreatedAt NullableString, remoteModifiedAt NullableString) *TimeOffBalanceResponse

NewTimeOffBalanceResponse instantiates a new TimeOffBalanceResponse 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 NewTimeOffBalanceResponseWithDefaults

func NewTimeOffBalanceResponseWithDefaults() *TimeOffBalanceResponse

NewTimeOffBalanceResponseWithDefaults instantiates a new TimeOffBalanceResponse 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 (*TimeOffBalanceResponse) GetBalance

func (o *TimeOffBalanceResponse) GetBalance() float32

GetBalance returns the Balance field value If the value is explicit nil, the zero value for float32 will be returned

func (*TimeOffBalanceResponse) GetBalanceOk

func (o *TimeOffBalanceResponse) GetBalanceOk() (*float32, bool)

GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffBalanceResponse) GetEmployeeId

func (o *TimeOffBalanceResponse) GetEmployeeId() string

GetEmployeeId returns the EmployeeId field value

func (*TimeOffBalanceResponse) GetEmployeeIdOk

func (o *TimeOffBalanceResponse) GetEmployeeIdOk() (*string, bool)

GetEmployeeIdOk returns a tuple with the EmployeeId field value and a boolean to check if the value has been set.

func (*TimeOffBalanceResponse) GetPolicyName

func (o *TimeOffBalanceResponse) GetPolicyName() string

GetPolicyName returns the PolicyName field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffBalanceResponse) GetPolicyNameOk

func (o *TimeOffBalanceResponse) GetPolicyNameOk() (*string, bool)

GetPolicyNameOk returns a tuple with the PolicyName field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffBalanceResponse) GetPolicyType

func (o *TimeOffBalanceResponse) GetPolicyType() string

GetPolicyType returns the PolicyType field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffBalanceResponse) GetPolicyTypeOk

func (o *TimeOffBalanceResponse) GetPolicyTypeOk() (*string, bool)

GetPolicyTypeOk returns a tuple with the PolicyType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffBalanceResponse) GetRemoteCreatedAt

func (o *TimeOffBalanceResponse) GetRemoteCreatedAt() string

GetRemoteCreatedAt returns the RemoteCreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffBalanceResponse) GetRemoteCreatedAtOk

func (o *TimeOffBalanceResponse) GetRemoteCreatedAtOk() (*string, bool)

GetRemoteCreatedAtOk returns a tuple with the RemoteCreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffBalanceResponse) GetRemoteId

func (o *TimeOffBalanceResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*TimeOffBalanceResponse) GetRemoteIdOk

func (o *TimeOffBalanceResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*TimeOffBalanceResponse) GetRemoteModifiedAt

func (o *TimeOffBalanceResponse) GetRemoteModifiedAt() string

GetRemoteModifiedAt returns the RemoteModifiedAt field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffBalanceResponse) GetRemoteModifiedAtOk

func (o *TimeOffBalanceResponse) GetRemoteModifiedAtOk() (*string, bool)

GetRemoteModifiedAtOk returns a tuple with the RemoteModifiedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffBalanceResponse) GetUsed

func (o *TimeOffBalanceResponse) GetUsed() float32

GetUsed returns the Used field value If the value is explicit nil, the zero value for float32 will be returned

func (*TimeOffBalanceResponse) GetUsedOk

func (o *TimeOffBalanceResponse) GetUsedOk() (*float32, bool)

GetUsedOk returns a tuple with the Used field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (TimeOffBalanceResponse) MarshalJSON

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

func (*TimeOffBalanceResponse) SetBalance

func (o *TimeOffBalanceResponse) SetBalance(v float32)

SetBalance sets field value

func (*TimeOffBalanceResponse) SetEmployeeId

func (o *TimeOffBalanceResponse) SetEmployeeId(v string)

SetEmployeeId sets field value

func (*TimeOffBalanceResponse) SetPolicyName

func (o *TimeOffBalanceResponse) SetPolicyName(v string)

SetPolicyName sets field value

func (*TimeOffBalanceResponse) SetPolicyType

func (o *TimeOffBalanceResponse) SetPolicyType(v string)

SetPolicyType sets field value

func (*TimeOffBalanceResponse) SetRemoteCreatedAt

func (o *TimeOffBalanceResponse) SetRemoteCreatedAt(v string)

SetRemoteCreatedAt sets field value

func (*TimeOffBalanceResponse) SetRemoteId

func (o *TimeOffBalanceResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*TimeOffBalanceResponse) SetRemoteModifiedAt

func (o *TimeOffBalanceResponse) SetRemoteModifiedAt(v string)

SetRemoteModifiedAt sets field value

func (*TimeOffBalanceResponse) SetUsed

func (o *TimeOffBalanceResponse) SetUsed(v float32)

SetUsed sets field value

type TimeOffEntryResponse

type TimeOffEntryResponse struct {
	// The Affix-assigned id of the time off entry
	Id string `json:"id"`
	// the remote system-assigned id of the time off entry
	RemoteId string `json:"remote_id"`
	// the Affix-assigned id of the individual
	EmployeeId       string         `json:"employee_id"`
	StartDate        NullableString `json:"start_date"`
	EndDate          NullableString `json:"end_date"`
	Amount           float32        `json:"amount"`
	Unit             string         `json:"unit"`
	Status           NullableString `json:"status"`
	EmployeeNote     NullableString `json:"employee_note"`
	RequestType      NullableString `json:"request_type"`
	RemoteCreatedAt  NullableString `json:"remote_created_at"`
	RemoteModifiedAt NullableString `json:"remote_modified_at"`
}

TimeOffEntryResponse struct for TimeOffEntryResponse

func NewTimeOffEntryResponse

func NewTimeOffEntryResponse(id string, remoteId string, employeeId string, startDate NullableString, endDate NullableString, amount float32, unit string, status NullableString, employeeNote NullableString, requestType NullableString, remoteCreatedAt NullableString, remoteModifiedAt NullableString) *TimeOffEntryResponse

NewTimeOffEntryResponse instantiates a new TimeOffEntryResponse 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 NewTimeOffEntryResponseWithDefaults

func NewTimeOffEntryResponseWithDefaults() *TimeOffEntryResponse

NewTimeOffEntryResponseWithDefaults instantiates a new TimeOffEntryResponse 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 (*TimeOffEntryResponse) GetAmount

func (o *TimeOffEntryResponse) GetAmount() float32

GetAmount returns the Amount field value

func (*TimeOffEntryResponse) GetAmountOk

func (o *TimeOffEntryResponse) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*TimeOffEntryResponse) GetEmployeeId

func (o *TimeOffEntryResponse) GetEmployeeId() string

GetEmployeeId returns the EmployeeId field value

func (*TimeOffEntryResponse) GetEmployeeIdOk

func (o *TimeOffEntryResponse) GetEmployeeIdOk() (*string, bool)

GetEmployeeIdOk returns a tuple with the EmployeeId field value and a boolean to check if the value has been set.

func (*TimeOffEntryResponse) GetEmployeeNote

func (o *TimeOffEntryResponse) GetEmployeeNote() string

GetEmployeeNote returns the EmployeeNote field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetEmployeeNoteOk

func (o *TimeOffEntryResponse) GetEmployeeNoteOk() (*string, bool)

GetEmployeeNoteOk returns a tuple with the EmployeeNote field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetEndDate

func (o *TimeOffEntryResponse) GetEndDate() string

GetEndDate returns the EndDate field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetEndDateOk

func (o *TimeOffEntryResponse) GetEndDateOk() (*string, bool)

GetEndDateOk returns a tuple with the EndDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetId

func (o *TimeOffEntryResponse) GetId() string

GetId returns the Id field value

func (*TimeOffEntryResponse) GetIdOk

func (o *TimeOffEntryResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TimeOffEntryResponse) GetRemoteCreatedAt

func (o *TimeOffEntryResponse) GetRemoteCreatedAt() string

GetRemoteCreatedAt returns the RemoteCreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetRemoteCreatedAtOk

func (o *TimeOffEntryResponse) GetRemoteCreatedAtOk() (*string, bool)

GetRemoteCreatedAtOk returns a tuple with the RemoteCreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetRemoteId

func (o *TimeOffEntryResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*TimeOffEntryResponse) GetRemoteIdOk

func (o *TimeOffEntryResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*TimeOffEntryResponse) GetRemoteModifiedAt

func (o *TimeOffEntryResponse) GetRemoteModifiedAt() string

GetRemoteModifiedAt returns the RemoteModifiedAt field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetRemoteModifiedAtOk

func (o *TimeOffEntryResponse) GetRemoteModifiedAtOk() (*string, bool)

GetRemoteModifiedAtOk returns a tuple with the RemoteModifiedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetRequestType

func (o *TimeOffEntryResponse) GetRequestType() string

GetRequestType returns the RequestType field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetRequestTypeOk

func (o *TimeOffEntryResponse) GetRequestTypeOk() (*string, bool)

GetRequestTypeOk returns a tuple with the RequestType field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetStartDate

func (o *TimeOffEntryResponse) GetStartDate() string

GetStartDate returns the StartDate field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetStartDateOk

func (o *TimeOffEntryResponse) GetStartDateOk() (*string, bool)

GetStartDateOk returns a tuple with the StartDate field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetStatus

func (o *TimeOffEntryResponse) GetStatus() string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*TimeOffEntryResponse) GetStatusOk

func (o *TimeOffEntryResponse) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimeOffEntryResponse) GetUnit

func (o *TimeOffEntryResponse) GetUnit() string

GetUnit returns the Unit field value

func (*TimeOffEntryResponse) GetUnitOk

func (o *TimeOffEntryResponse) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (TimeOffEntryResponse) MarshalJSON

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

func (*TimeOffEntryResponse) SetAmount

func (o *TimeOffEntryResponse) SetAmount(v float32)

SetAmount sets field value

func (*TimeOffEntryResponse) SetEmployeeId

func (o *TimeOffEntryResponse) SetEmployeeId(v string)

SetEmployeeId sets field value

func (*TimeOffEntryResponse) SetEmployeeNote

func (o *TimeOffEntryResponse) SetEmployeeNote(v string)

SetEmployeeNote sets field value

func (*TimeOffEntryResponse) SetEndDate

func (o *TimeOffEntryResponse) SetEndDate(v string)

SetEndDate sets field value

func (*TimeOffEntryResponse) SetId

func (o *TimeOffEntryResponse) SetId(v string)

SetId sets field value

func (*TimeOffEntryResponse) SetRemoteCreatedAt

func (o *TimeOffEntryResponse) SetRemoteCreatedAt(v string)

SetRemoteCreatedAt sets field value

func (*TimeOffEntryResponse) SetRemoteId

func (o *TimeOffEntryResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*TimeOffEntryResponse) SetRemoteModifiedAt

func (o *TimeOffEntryResponse) SetRemoteModifiedAt(v string)

SetRemoteModifiedAt sets field value

func (*TimeOffEntryResponse) SetRequestType

func (o *TimeOffEntryResponse) SetRequestType(v string)

SetRequestType sets field value

func (*TimeOffEntryResponse) SetStartDate

func (o *TimeOffEntryResponse) SetStartDate(v string)

SetStartDate sets field value

func (*TimeOffEntryResponse) SetStatus

func (o *TimeOffEntryResponse) SetStatus(v string)

SetStatus sets field value

func (*TimeOffEntryResponse) SetUnit

func (o *TimeOffEntryResponse) SetUnit(v string)

SetUnit sets field value

type TimesheetResponse

type TimesheetResponse struct {
	// The Affix-assigned id of the time off entry
	Id string `json:"id"`
	// the remote system-assigned id of the time off entry
	RemoteId string `json:"remote_id"`
	// the Affix-assigned id of the individual
	EmployeeId       string         `json:"employee_id"`
	StartTime        NullableTime   `json:"start_time"`
	EndTime          NullableTime   `json:"end_time"`
	HoursWorked      float32        `json:"hours_worked"`
	RemoteCreatedAt  NullableString `json:"remote_created_at"`
	RemoteModifiedAt NullableString `json:"remote_modified_at"`
}

TimesheetResponse struct for TimesheetResponse

func NewTimesheetResponse

func NewTimesheetResponse(id string, remoteId string, employeeId string, startTime NullableTime, endTime NullableTime, hoursWorked float32, remoteCreatedAt NullableString, remoteModifiedAt NullableString) *TimesheetResponse

NewTimesheetResponse instantiates a new TimesheetResponse 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 NewTimesheetResponseWithDefaults

func NewTimesheetResponseWithDefaults() *TimesheetResponse

NewTimesheetResponseWithDefaults instantiates a new TimesheetResponse 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 (*TimesheetResponse) GetEmployeeId

func (o *TimesheetResponse) GetEmployeeId() string

GetEmployeeId returns the EmployeeId field value

func (*TimesheetResponse) GetEmployeeIdOk

func (o *TimesheetResponse) GetEmployeeIdOk() (*string, bool)

GetEmployeeIdOk returns a tuple with the EmployeeId field value and a boolean to check if the value has been set.

func (*TimesheetResponse) GetEndTime

func (o *TimesheetResponse) GetEndTime() time.Time

GetEndTime returns the EndTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*TimesheetResponse) GetEndTimeOk

func (o *TimesheetResponse) GetEndTimeOk() (*time.Time, bool)

GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimesheetResponse) GetHoursWorked

func (o *TimesheetResponse) GetHoursWorked() float32

GetHoursWorked returns the HoursWorked field value

func (*TimesheetResponse) GetHoursWorkedOk

func (o *TimesheetResponse) GetHoursWorkedOk() (*float32, bool)

GetHoursWorkedOk returns a tuple with the HoursWorked field value and a boolean to check if the value has been set.

func (*TimesheetResponse) GetId

func (o *TimesheetResponse) GetId() string

GetId returns the Id field value

func (*TimesheetResponse) GetIdOk

func (o *TimesheetResponse) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*TimesheetResponse) GetRemoteCreatedAt

func (o *TimesheetResponse) GetRemoteCreatedAt() string

GetRemoteCreatedAt returns the RemoteCreatedAt field value If the value is explicit nil, the zero value for string will be returned

func (*TimesheetResponse) GetRemoteCreatedAtOk

func (o *TimesheetResponse) GetRemoteCreatedAtOk() (*string, bool)

GetRemoteCreatedAtOk returns a tuple with the RemoteCreatedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimesheetResponse) GetRemoteId

func (o *TimesheetResponse) GetRemoteId() string

GetRemoteId returns the RemoteId field value

func (*TimesheetResponse) GetRemoteIdOk

func (o *TimesheetResponse) GetRemoteIdOk() (*string, bool)

GetRemoteIdOk returns a tuple with the RemoteId field value and a boolean to check if the value has been set.

func (*TimesheetResponse) GetRemoteModifiedAt

func (o *TimesheetResponse) GetRemoteModifiedAt() string

GetRemoteModifiedAt returns the RemoteModifiedAt field value If the value is explicit nil, the zero value for string will be returned

func (*TimesheetResponse) GetRemoteModifiedAtOk

func (o *TimesheetResponse) GetRemoteModifiedAtOk() (*string, bool)

GetRemoteModifiedAtOk returns a tuple with the RemoteModifiedAt field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*TimesheetResponse) GetStartTime

func (o *TimesheetResponse) GetStartTime() time.Time

GetStartTime returns the StartTime field value If the value is explicit nil, the zero value for time.Time will be returned

func (*TimesheetResponse) GetStartTimeOk

func (o *TimesheetResponse) GetStartTimeOk() (*time.Time, bool)

GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (TimesheetResponse) MarshalJSON

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

func (*TimesheetResponse) SetEmployeeId

func (o *TimesheetResponse) SetEmployeeId(v string)

SetEmployeeId sets field value

func (*TimesheetResponse) SetEndTime

func (o *TimesheetResponse) SetEndTime(v time.Time)

SetEndTime sets field value

func (*TimesheetResponse) SetHoursWorked

func (o *TimesheetResponse) SetHoursWorked(v float32)

SetHoursWorked sets field value

func (*TimesheetResponse) SetId

func (o *TimesheetResponse) SetId(v string)

SetId sets field value

func (*TimesheetResponse) SetRemoteCreatedAt

func (o *TimesheetResponse) SetRemoteCreatedAt(v string)

SetRemoteCreatedAt sets field value

func (*TimesheetResponse) SetRemoteId

func (o *TimesheetResponse) SetRemoteId(v string)

SetRemoteId sets field value

func (*TimesheetResponse) SetRemoteModifiedAt

func (o *TimesheetResponse) SetRemoteModifiedAt(v string)

SetRemoteModifiedAt sets field value

func (*TimesheetResponse) SetStartTime

func (o *TimesheetResponse) SetStartTime(v time.Time)

SetStartTime sets field value

type TokenRequest

type TokenRequest struct {
	// The client ID you received when you first created the application
	ClientId string `json:"client_id"`
	// The client secret. Since there can be multiple `client_secret`s (to allow for rotation of secrets without downtime to your customers), any current `client_secret` is valid  Please email me after signup and I will set both your client secret and redirect_uri (required) when you reach out.
	ClientSecret string `json:"client_secret"`
	// This is a hardcoded value required by the OAuth 2.1 spec
	GrantType string `json:"grant_type"`
	// This is the code you received in the query string
	Code string `json:"code"`
	// Indicates the URI to return the user to after authorization is complete, which is the endpoint on your server to receive the authorization_code.  Must be identical to the redirect URI provided in the original link.  Please email me after signup and I will set both your client secret and redirect_uri (required) when you reach out.
	RedirectUri string `json:"redirect_uri"`
}

TokenRequest struct for TokenRequest

func NewTokenRequest

func NewTokenRequest(clientId string, clientSecret string, grantType string, code string, redirectUri string) *TokenRequest

NewTokenRequest instantiates a new TokenRequest 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 NewTokenRequestWithDefaults

func NewTokenRequestWithDefaults() *TokenRequest

NewTokenRequestWithDefaults instantiates a new TokenRequest 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 (*TokenRequest) GetClientId

func (o *TokenRequest) GetClientId() string

GetClientId returns the ClientId field value

func (*TokenRequest) GetClientIdOk

func (o *TokenRequest) GetClientIdOk() (*string, bool)

GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.

func (*TokenRequest) GetClientSecret

func (o *TokenRequest) GetClientSecret() string

GetClientSecret returns the ClientSecret field value

func (*TokenRequest) GetClientSecretOk

func (o *TokenRequest) GetClientSecretOk() (*string, bool)

GetClientSecretOk returns a tuple with the ClientSecret field value and a boolean to check if the value has been set.

func (*TokenRequest) GetCode

func (o *TokenRequest) GetCode() string

GetCode returns the Code field value

func (*TokenRequest) GetCodeOk

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

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

func (*TokenRequest) GetGrantType

func (o *TokenRequest) GetGrantType() string

GetGrantType returns the GrantType field value

func (*TokenRequest) GetGrantTypeOk

func (o *TokenRequest) GetGrantTypeOk() (*string, bool)

GetGrantTypeOk returns a tuple with the GrantType field value and a boolean to check if the value has been set.

func (*TokenRequest) GetRedirectUri

func (o *TokenRequest) GetRedirectUri() string

GetRedirectUri returns the RedirectUri field value

func (*TokenRequest) GetRedirectUriOk

func (o *TokenRequest) GetRedirectUriOk() (*string, bool)

GetRedirectUriOk returns a tuple with the RedirectUri field value and a boolean to check if the value has been set.

func (TokenRequest) MarshalJSON

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

func (*TokenRequest) SetClientId

func (o *TokenRequest) SetClientId(v string)

SetClientId sets field value

func (*TokenRequest) SetClientSecret

func (o *TokenRequest) SetClientSecret(v string)

SetClientSecret sets field value

func (*TokenRequest) SetCode

func (o *TokenRequest) SetCode(v string)

SetCode sets field value

func (*TokenRequest) SetGrantType

func (o *TokenRequest) SetGrantType(v string)

SetGrantType sets field value

func (*TokenRequest) SetRedirectUri

func (o *TokenRequest) SetRedirectUri(v string)

SetRedirectUri sets field value

type TokenResponse

type TokenResponse struct {
	// The issued access_token
	AccessToken string           `json:"access_token"`
	Mode        ModeResponse     `json:"mode"`
	Provider    ProviderResponse `json:"provider"`
	// One or more scope values indicating which parts of the user's account you wish to access.  Note, slight deviation from the OAuth 2.1 spec in that the param is scopes (plural) is used vs scope (singular)
	Scopes []ScopesResponse `json:"scopes"`
	// The token type to pass in the `Authorization` header
	TokenType string `json:"token_type"`
}

TokenResponse struct for TokenResponse

func NewTokenResponse

func NewTokenResponse(accessToken string, mode ModeResponse, provider ProviderResponse, scopes []ScopesResponse, tokenType string) *TokenResponse

NewTokenResponse instantiates a new TokenResponse 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 NewTokenResponseWithDefaults

func NewTokenResponseWithDefaults() *TokenResponse

NewTokenResponseWithDefaults instantiates a new TokenResponse 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 (*TokenResponse) GetAccessToken

func (o *TokenResponse) GetAccessToken() string

GetAccessToken returns the AccessToken field value

func (*TokenResponse) GetAccessTokenOk

func (o *TokenResponse) GetAccessTokenOk() (*string, bool)

GetAccessTokenOk returns a tuple with the AccessToken field value and a boolean to check if the value has been set.

func (*TokenResponse) GetMode

func (o *TokenResponse) GetMode() ModeResponse

GetMode returns the Mode field value

func (*TokenResponse) GetModeOk

func (o *TokenResponse) GetModeOk() (*ModeResponse, bool)

GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.

func (*TokenResponse) GetProvider

func (o *TokenResponse) GetProvider() ProviderResponse

GetProvider returns the Provider field value

func (*TokenResponse) GetProviderOk

func (o *TokenResponse) GetProviderOk() (*ProviderResponse, bool)

GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.

func (*TokenResponse) GetScopes

func (o *TokenResponse) GetScopes() []ScopesResponse

GetScopes returns the Scopes field value

func (*TokenResponse) GetScopesOk

func (o *TokenResponse) GetScopesOk() (*[]ScopesResponse, bool)

GetScopesOk returns a tuple with the Scopes field value and a boolean to check if the value has been set.

func (*TokenResponse) GetTokenType

func (o *TokenResponse) GetTokenType() string

GetTokenType returns the TokenType field value

func (*TokenResponse) GetTokenTypeOk

func (o *TokenResponse) GetTokenTypeOk() (*string, bool)

GetTokenTypeOk returns a tuple with the TokenType field value and a boolean to check if the value has been set.

func (TokenResponse) MarshalJSON

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

func (*TokenResponse) SetAccessToken

func (o *TokenResponse) SetAccessToken(v string)

SetAccessToken sets field value

func (*TokenResponse) SetMode

func (o *TokenResponse) SetMode(v ModeResponse)

SetMode sets field value

func (*TokenResponse) SetProvider

func (o *TokenResponse) SetProvider(v ProviderResponse)

SetProvider sets field value

func (*TokenResponse) SetScopes

func (o *TokenResponse) SetScopes(v []ScopesResponse)

SetScopes sets field value

func (*TokenResponse) SetTokenType

func (o *TokenResponse) SetTokenType(v string)

SetTokenType sets field value

type XHRVerticallyIntegratedApiService added in v1.1.25

type XHRVerticallyIntegratedApiService service

XHRVerticallyIntegratedApiService XHRVerticallyIntegratedApi service

func (*XHRVerticallyIntegratedApiService) XhrCompanies20230301 added in v1.1.25

* XhrCompanies20230301 Company * Retrieve company information

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

func (*XHRVerticallyIntegratedApiService) XhrCompanies20230301Execute added in v1.1.25

* Execute executes the request * @return []CompanyResponse

func (*XHRVerticallyIntegratedApiService) XhrEmployees20230301 added in v1.1.25

  • XhrEmployees20230301 Employees
  • List the individuals (employees, contractors, accountants, and others)

listed in the HRIS/Payroll software

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

func (*XHRVerticallyIntegratedApiService) XhrEmployees20230301Execute added in v1.1.25

* Execute executes the request * @return []EmployeeResponse

func (*XHRVerticallyIntegratedApiService) XhrGroups20230301 added in v1.1.25

  • XhrGroups20230301 Groups
  • The Group object is used to represent any subset of employees, such as

PayGroup, Team, or Department. Employees can be in multiple Groups.

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

func (*XHRVerticallyIntegratedApiService) XhrGroups20230301Execute added in v1.1.25

* Execute executes the request * @return []GroupResponse

func (*XHRVerticallyIntegratedApiService) XhrIdentity20230301 added in v1.1.25

* XhrIdentity20230301 Identity * List information of the user for the respective account

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

func (*XHRVerticallyIntegratedApiService) XhrIdentity20230301Execute added in v1.1.25

* Execute executes the request * @return IdentityResponse

func (*XHRVerticallyIntegratedApiService) XhrPayruns20230301 added in v1.1.25

  • XhrPayruns20230301 Payruns
  • List all the pay runs that occurred during the respective period.

Supported integrations:

  • brain payroll

  • brightpay connect

  • deel

  • gusto

  • justworks

  • moorepay

  • onpay

  • oyster

  • parolla.ie

  • paycircle

  • payfit

  • pento.io

  • quickbooks online

  • remote.com

  • rippling

  • sageone

  • shape payroll

  • simplepay.ie

  • staffology

  • xero uk

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

  • @return ApiXhrPayruns20230301Request

func (*XHRVerticallyIntegratedApiService) XhrPayruns20230301Execute added in v1.1.25

* Execute executes the request * @return []PayrunResponse

func (*XHRVerticallyIntegratedApiService) XhrPayslips20230301 added in v1.1.25

  • XhrPayslips20230301 Payslips
  • Retrieves payslips from a specific payrun.

Supported integrations:

  • sageone

  • simplepay.ie

  • brightpay connect

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

  • @param payrunId The id of the payrun.

  • @return ApiXhrPayslips20230301Request

func (*XHRVerticallyIntegratedApiService) XhrPayslips20230301Execute added in v1.1.25

* Execute executes the request * @return []PayslipResponse

func (*XHRVerticallyIntegratedApiService) XhrTimeOffBalances20230301 added in v1.1.25

* XhrTimeOffBalances20230301 Time off balances * Retrieve all time off balances.

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

func (*XHRVerticallyIntegratedApiService) XhrTimeOffBalances20230301Execute added in v1.1.25

* Execute executes the request * @return []TimeOffBalanceResponse

func (*XHRVerticallyIntegratedApiService) XhrTimeOffEntries20230301 added in v1.1.25

* XhrTimeOffEntries20230301 Time off entries * Retrieve time off / absence entries

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

func (*XHRVerticallyIntegratedApiService) XhrTimeOffEntries20230301Execute added in v1.1.25

* Execute executes the request * @return []TimeOffEntryResponse

func (*XHRVerticallyIntegratedApiService) XhrTimesheets20230301 added in v1.1.25

* XhrTimesheets20230301 Timesheets * Retrieve Timesheets

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

func (*XHRVerticallyIntegratedApiService) XhrTimesheets20230301Execute added in v1.1.25

* Execute executes the request * @return []TimesheetResponse

func (*XHRVerticallyIntegratedApiService) XhrWorkLocations20230301 added in v1.1.25

  • XhrWorkLocations20230301 Work locations
  • The Location object is used to represent an address that can be associated

with an employee

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

func (*XHRVerticallyIntegratedApiService) XhrWorkLocations20230301Execute added in v1.1.25

* Execute executes the request * @return []LocationResponse

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL