Categorygithub.com/lab5e/go-spanuserapi/v4
modulepackage
4.5.0-beta
Repository: https://github.com/lab5e/go-spanuserapi.git
Documentation: pkg.go.dev

# README

Go API client for spanuserapi

API for sessions, teams and API tokens

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: [version] [name]
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://lab5e.com

Installation

Install the following dependencies:

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

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

import spanuserapi "github.com/lab5e/go-spanuserapi"

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(), spanuserapi.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(), spanuserapi.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 identified 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(), spanuserapi.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), spanuserapi.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
OrgsApiAddAPITokenPost /dejavu/v1/orgs/{orgId}/teams/{teamId}/apitokensAdd API token to team
OrgsApiAddTeamMemberPost /dejavu/v1/orgs/{orgId}/teams/{teamId}/membersAdd a team member
OrgsApiCreateOrgPost /dejavu/v1/orgsCreate new organisation
OrgsApiCreateOrgInvitesPost /dejavu/v1/orgs/{orgId}/invitesInvite members into org
OrgsApiCreateOrgTeamPost /dejavu/v1/orgs/{orgId}/teamsCreate a team
OrgsApiDeleteOrgDelete /dejavu/v1/orgs/{orgId}Delete organisation
OrgsApiDeleteOrgTeamDelete /dejavu/v1/orgs/{orgId}/teams/{teamId}Delete a team
OrgsApiGetAPITokenGet /dejavu/v1/orgs/{orgId}/teams/{teamId}/apitokens/{tokenId}Retrieve API token
OrgsApiGetOrgGet /dejavu/v1/orgs/{orgId}Organisation details
OrgsApiGetOrgTeamGet /dejavu/v1/orgs/{orgId}/teams/{teamId}Retrieve team information
OrgsApiHandleInvitePatch /dejavu/v1/orgs/invites/{inviteId}Respond to invite
OrgsApiListAPITokensGet /dejavu/v1/orgs/{orgId}/teams/apitokensList API tokens for teams in organisation
OrgsApiListInvitesPost /dejavu/v1/orgs/invitesList invites
OrgsApiListOrgMembersGet /dejavu/v1/orgs/{orgId}/membersList members of organisation
OrgsApiListOrgTeamsGet /dejavu/v1/orgs/{orgId}/teamsList teams in org
OrgsApiListOrgsGet /dejavu/v1/orgsList organisations
OrgsApiRemoveAPITokenDelete /dejavu/v1/orgs/{orgId}/teams/{teamId}/apitokens/{tokenId}Remove API token from team
OrgsApiRemoveOrgMemberDelete /dejavu/v1/orgs/{orgId}/members/{memberId}Remove member from organisation
OrgsApiRemoveTeamMemberDelete /dejavu/v1/orgs/{orgId}/teams/{teamId}/members/{memberId}Remove a member from a team
OrgsApiUpdateAPITokenPatch /dejavu/v1/orgs/{orgId}/teams/{teamId}/apitokens/{tokenId}Update API token
OrgsApiUpdateOrgPatch /dejavu/v1/orgs/{orgId}Update organisation
OrgsApiUpdateOrgMemberRolePatch /dejavu/v1/orgs/{orgId}/members/{memberId}Update org member role
OrgsApiUpdateOrgTeamPatch /dejavu/v1/orgs/{orgId}/teams/{teamId}Update a team
OrgsApiUpdateTeamMemberPatch /dejavu/v1/orgs/{orgId}/teams/{teamId}/membersChange membership role for a team member
ProfileApiNewMFATokenPost /dejavu/v1/mfa/newAssign MFA token
ProfileApiProfileGet /dejavu/v1/profileRetrieve profile
ProfileApiRemoveMFATokenPost /dejavu/v1/mfa/removeRemove MFA token
ProfileApiUpdatePasswordPost /dejavu/v1/profile/passwordChange password
ProfileApiUpdateProfilePost /dejavu/v1/profileUpdate profile
ProfileApiVerifyNewMFATokenPost /dejavu/v1/mfa/verifyVerify MFA token
ProfileApiVerifyPhonePost /dejavu/v1/phone/verifyVerify phone number
SessionApiListSessionsPost /dejavu/v1/sessionsList sessions
SessionApiLoginPost /dejavu/v1/loginSign in to the service
SessionApiLogoutPost /dejavu/v1/logoutSign out
SessionApiRecoverPasswordPost /dejavu/v1/recoverRecover/reset password
SignupApiEndUserLicenseAgreementGet /dejavu/v1/eulaEULA text
SignupApiGetGithubProfileGet /dejavu/v1/ghprofile/{githubToken}Retrieve GitHub profile
SignupApiSignupPost /dejavu/v1/signupSign up new user
SignupApiUpdateGithubProfilePost /dejavu/v1/ghprofile/{githubToken}Update GitHub profile
SignupApiVerifyEmailPost /dejavu/v1/verifyemailVerify email
SignupApiVerifyGithubProfilePost /dejavu/v1/ghprofile/{emailToken}/verifyVerify GitHub profile

Documentation For Models

Documentation For Authorization

APIToken

  • Type: API key
  • API key parameter name: X-API-Token
  • Location: HTTP header

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

bearer

  • 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

[email protected]

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAddAPITokenRequest instantiates a new AddAPITokenRequest 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.
NewAddAPITokenRequestWithDefaults instantiates a new AddAPITokenRequest 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.
NewAny instantiates a new Any 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.
NewAnyWithDefaults instantiates a new Any 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.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewAPIToken instantiates a new APIToken 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.
NewAPITokenWithDefaults instantiates a new APIToken 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.
NewConfiguration returns a new Configuration object.
NewCreateOrgInvitesRequest instantiates a new CreateOrgInvitesRequest 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.
NewCreateOrgInvitesRequestWithDefaults instantiates a new CreateOrgInvitesRequest 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.
NewCreateOrgInvitesResponse instantiates a new CreateOrgInvitesResponse 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.
NewCreateOrgInvitesResponseWithDefaults instantiates a new CreateOrgInvitesResponse 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.
NewCreateOrgRequest instantiates a new CreateOrgRequest 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.
NewCreateOrgRequestWithDefaults instantiates a new CreateOrgRequest 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.
NewCreateOrgTeamRequest instantiates a new CreateOrgTeamRequest 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.
NewCreateOrgTeamRequestWithDefaults instantiates a new CreateOrgTeamRequest 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.
NewCreateTestUserResponse instantiates a new CreateTestUserResponse 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.
NewCreateTestUserResponseWithDefaults instantiates a new CreateTestUserResponse 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.
NewEndUserLicenseAgreementResponse instantiates a new EndUserLicenseAgreementResponse 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.
NewEndUserLicenseAgreementResponseWithDefaults instantiates a new EndUserLicenseAgreementResponse 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.
NewFormatFromValue returns a pointer to a valid Format for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewGetGithubProfileResponse instantiates a new GetGithubProfileResponse 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.
NewGetGithubProfileResponseWithDefaults instantiates a new GetGithubProfileResponse 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.
NewGetSigningKeyResponse instantiates a new GetSigningKeyResponse 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.
NewGetSigningKeyResponseWithDefaults instantiates a new GetSigningKeyResponse 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.
NewHandleInviteRequest instantiates a new HandleInviteRequest 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.
NewHandleInviteRequestWithDefaults instantiates a new HandleInviteRequest 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.
NewInvite instantiates a new Invite 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.
NewInviteWithDefaults instantiates a new Invite 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.
NewListAPITokenResponse instantiates a new ListAPITokenResponse 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.
NewListAPITokenResponseWithDefaults instantiates a new ListAPITokenResponse 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.
NewListInvitesResponse instantiates a new ListInvitesResponse 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.
NewListInvitesResponseWithDefaults instantiates a new ListInvitesResponse 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.
NewListOrgMembersResponse instantiates a new ListOrgMembersResponse 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.
NewListOrgMembersResponseWithDefaults instantiates a new ListOrgMembersResponse 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.
NewListOrgsResponse instantiates a new ListOrgsResponse 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.
NewListOrgsResponseWithDefaults instantiates a new ListOrgsResponse 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.
NewListOrgTeamsResponse instantiates a new ListOrgTeamsResponse 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.
NewListOrgTeamsResponseWithDefaults instantiates a new ListOrgTeamsResponse 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.
NewListSessionsResponse instantiates a new ListSessionsResponse 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.
NewListSessionsResponseWithDefaults instantiates a new ListSessionsResponse 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.
NewLoginRequest instantiates a new LoginRequest 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.
NewLoginRequestWithDefaults instantiates a new LoginRequest 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.
NewLoginResponse instantiates a new LoginResponse 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.
NewLoginResponseResultFromValue returns a pointer to a valid LoginResponseResult for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewLoginResponseWithDefaults instantiates a new LoginResponse 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.
NewMemberStatusFromValue returns a pointer to a valid MemberStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewNewMFATokenResponse instantiates a new NewMFATokenResponse 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.
NewNewMFATokenResponseWithDefaults instantiates a new NewMFATokenResponse 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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewOrganisation instantiates a new Organisation 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.
NewOrganisationWithDefaults instantiates a new Organisation 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.
NewOrgMember instantiates a new OrgMember 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.
NewOrgMemberWithDefaults instantiates a new OrgMember 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.
NewOrgRoleFromValue returns a pointer to a valid OrgRole for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewOrgStats instantiates a new OrgStats 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.
NewOrgStatsWithDefaults instantiates a new OrgStats 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.
NewOrgTeam instantiates a new OrgTeam 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.
NewOrgTeamMember instantiates a new OrgTeamMember 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.
NewOrgTeamMemberWithDefaults instantiates a new OrgTeamMember 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.
NewOrgTeamWithDefaults instantiates a new OrgTeam 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.
NewProfileResponse instantiates a new ProfileResponse 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.
NewProfileResponseWithDefaults instantiates a new ProfileResponse 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.
NewRecoverPasswordRequest instantiates a new RecoverPasswordRequest 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.
NewRecoverPasswordRequestWithDefaults instantiates a new RecoverPasswordRequest 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.
NewRecoverPasswordResponse instantiates a new RecoverPasswordResponse 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.
NewRecoverPasswordResponseWithDefaults instantiates a new RecoverPasswordResponse 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.
NewRemoveMFATokenRequest instantiates a new RemoveMFATokenRequest 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.
NewRemoveMFATokenRequestWithDefaults instantiates a new RemoveMFATokenRequest 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.
NewRemoveMFATokenResponse instantiates a new RemoveMFATokenResponse 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.
NewRemoveMFATokenResponseWithDefaults instantiates a new RemoveMFATokenResponse 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.
NewSessionInfo instantiates a new SessionInfo 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.
NewSessionInfoTypeFromValue returns a pointer to a valid SessionInfoType for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewSessionInfoWithDefaults instantiates a new SessionInfo 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.
NewSignupRequest instantiates a new SignupRequest 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.
NewSignupRequestWithDefaults instantiates a new SignupRequest 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.
NewSignupResponse instantiates a new SignupResponse 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.
NewSignupResponseResultFromValue returns a pointer to a valid SignupResponseResult for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewSignupResponseWithDefaults instantiates a new SignupResponse 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.
NewStatus instantiates a new Status 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.
NewStatusWithDefaults instantiates a new Status 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.
NewTeamMemberRequest instantiates a new TeamMemberRequest 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.
NewTeamMemberRequestWithDefaults instantiates a new TeamMemberRequest 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.
NewUpdateAPITokenRequest instantiates a new UpdateAPITokenRequest 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.
NewUpdateAPITokenRequestWithDefaults instantiates a new UpdateAPITokenRequest 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.
NewUpdateGithubProfileRequest instantiates a new UpdateGithubProfileRequest 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.
NewUpdateGithubProfileRequestWithDefaults instantiates a new UpdateGithubProfileRequest 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.
NewUpdateOrgMemberRoleRequest instantiates a new UpdateOrgMemberRoleRequest 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.
NewUpdateOrgMemberRoleRequestWithDefaults instantiates a new UpdateOrgMemberRoleRequest 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.
NewUpdateOrgRequest instantiates a new UpdateOrgRequest 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.
NewUpdateOrgRequestWithDefaults instantiates a new UpdateOrgRequest 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.
NewUpdateOrgTeamRequest instantiates a new UpdateOrgTeamRequest 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.
NewUpdateOrgTeamRequestWithDefaults instantiates a new UpdateOrgTeamRequest 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.
NewUpdatePasswordRequest instantiates a new UpdatePasswordRequest 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.
NewUpdatePasswordRequestWithDefaults instantiates a new UpdatePasswordRequest 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.
NewUpdatePasswordResponse instantiates a new UpdatePasswordResponse 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.
NewUpdatePasswordResponseWithDefaults instantiates a new UpdatePasswordResponse 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.
NewUpdateProfileRequest instantiates a new UpdateProfileRequest 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.
NewUpdateProfileRequestWithDefaults instantiates a new UpdateProfileRequest 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.
NewUpdateProfileResponse instantiates a new UpdateProfileResponse 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.
NewUpdateProfileResponseWithDefaults instantiates a new UpdateProfileResponse 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.
NewUser instantiates a new User 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.
NewUserWithDefaults instantiates a new User 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.
NewVerifyEmailRequest instantiates a new VerifyEmailRequest 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.
NewVerifyEmailRequestWithDefaults instantiates a new VerifyEmailRequest 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.
NewVerifyEmailResponse instantiates a new VerifyEmailResponse 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.
NewVerifyEmailResponseResultFromValue returns a pointer to a valid VerifyEmailResponseResult for the value passed as argument, or an error if the value passed is not allowed by the enum.
NewVerifyEmailResponseWithDefaults instantiates a new VerifyEmailResponse 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.
NewVerifyGithubProfileRequest instantiates a new VerifyGithubProfileRequest 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.
NewVerifyGithubProfileRequestWithDefaults instantiates a new VerifyGithubProfileRequest 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.
NewVerifyGithubProfileResponse instantiates a new VerifyGithubProfileResponse 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.
NewVerifyGithubProfileResponseWithDefaults instantiates a new VerifyGithubProfileResponse 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.
NewVerifyNewMFATokenRequest instantiates a new VerifyNewMFATokenRequest 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.
NewVerifyNewMFATokenRequestWithDefaults instantiates a new VerifyNewMFATokenRequest 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.
NewVerifyNewMFATokenResponse instantiates a new VerifyNewMFATokenResponse 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.
NewVerifyNewMFATokenResponseWithDefaults instantiates a new VerifyNewMFATokenResponse 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.
NewVerifyPhoneRequest instantiates a new VerifyPhoneRequest 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.
NewVerifyPhoneRequestWithDefaults instantiates a new VerifyPhoneRequest 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.
NewVerifyPhoneResponse instantiates a new VerifyPhoneResponse 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.
NewVerifyPhoneResponseWithDefaults instantiates a new VerifyPhoneResponse 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.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Constants

List of Format.
List of Format.
List of Format.
List of LoginResponse.Result.
List of LoginResponse.Result.
List of LoginResponse.Result.
List of LoginResponse.Result.
List of MemberStatus.
List of MemberStatus.
List of MemberStatus.
List of MemberStatus.
List of OrgRole.
List of OrgRole.
List of OrgRole.
List of SessionInfo.Type.
List of SessionInfo.Type.
List of SessionInfo.Type.
List of SessionInfo.Type.
List of SessionInfo.Type.
List of SignupResponse.Result.
List of SignupResponse.Result.
List of VerifyEmailResponse.Result.
List of VerifyEmailResponse.Result.
List of VerifyEmailResponse.Result.

# Variables

All allowed values of Format enum.
All allowed values of LoginResponseResult enum.
All allowed values of MemberStatus enum.
All allowed values of OrgRole enum.
All allowed values of SessionInfoType enum.
All allowed values of SignupResponseResult enum.
All allowed values of VerifyEmailResponseResult enum.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

AddAPITokenRequest struct for AddAPITokenRequest.
Any struct for Any.
No description provided by the author
No description provided by the author
APIClient manages communication with the The Span User API API v[version] [name] In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
APIToken API Tokens are used for.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
CreateOrgInvitesRequest struct for CreateOrgInvitesRequest.
CreateOrgInvitesResponse struct for CreateOrgInvitesResponse.
CreateOrgRequest struct for CreateOrgRequest.
CreateOrgTeamRequest struct for CreateOrgTeamRequest.
CreateTestUserResponse struct for CreateTestUserResponse.
EndUserLicenseAgreementResponse struct for EndUserLicenseAgreementResponse.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
GetGithubProfileResponse struct for GetGithubProfileResponse.
GetSigningKeyResponse struct for GetSigningKeyResponse.
HandleInviteRequest struct for HandleInviteRequest.
Invite struct for Invite.
ListAPITokenResponse struct for ListAPITokenResponse.
ListInvitesResponse struct for ListInvitesResponse.
ListOrgMembersResponse struct for ListOrgMembersResponse.
ListOrgsResponse struct for ListOrgsResponse.
ListOrgTeamsResponse struct for ListOrgTeamsResponse.
ListSessionsResponse struct for ListSessionsResponse.
LoginRequest struct for LoginRequest.
LoginResponse struct for LoginResponse.
NewMFATokenResponse struct for NewMFATokenResponse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Organisation An organisation is typically your business or a bigger team working on a larger project with related activities.
OrgMember Member in an organisation.
OrgStats Basic statistics on org.
OrgTeam Team in organisation.
OrgTeamMember A team member.
ProfileResponse struct for ProfileResponse.
RecoverPasswordRequest struct for RecoverPasswordRequest.
RecoverPasswordResponse struct for RecoverPasswordResponse.
RemoveMFATokenRequest struct for RemoveMFATokenRequest.
RemoveMFATokenResponse struct for RemoveMFATokenResponse.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
SessionInfo struct for SessionInfo.
SignupRequest struct for SignupRequest.
SignupResponse struct for SignupResponse.
Status struct for Status.
TeamMemberRequest A request that mutates the member list.
UpdateAPITokenRequest struct for UpdateAPITokenRequest.
UpdateGithubProfileRequest Request from client when profile is updated.
UpdateOrgMemberRoleRequest struct for UpdateOrgMemberRoleRequest.
UpdateOrgRequest struct for UpdateOrgRequest.
UpdateOrgTeamRequest struct for UpdateOrgTeamRequest.
UpdatePasswordRequest struct for UpdatePasswordRequest.
UpdatePasswordResponse struct for UpdatePasswordResponse.
UpdateProfileRequest Update the user profile.
UpdateProfileResponse struct for UpdateProfileResponse.
User struct for User.
VerifyEmailRequest struct for VerifyEmailRequest.
VerifyEmailResponse The response to verified emails concludes the signup process and credentials for a new session is returned.
VerifyGithubProfileRequest Request sent from the client when the verification link is received.
VerifyGithubProfileResponse Response from server.
VerifyNewMFATokenRequest struct for VerifyNewMFATokenRequest.
VerifyNewMFATokenResponse struct for VerifyNewMFATokenResponse.
VerifyPhoneRequest struct for VerifyPhoneRequest.
VerifyPhoneResponse struct for VerifyPhoneResponse.

# Interfaces

No description provided by the author

# Type aliases

Format the model 'Format'.
LoginResponseResult the model 'LoginResponseResult'.
MemberStatus the model 'MemberStatus'.
OrgRole the model 'OrgRole'.
OrgsApiService OrgsApi service.
ProfileApiService ProfileApi service.
ServerConfigurations stores multiple ServerConfiguration items.
SessionApiService SessionApi service.
SessionInfoType the model 'SessionInfoType'.
SignupApiService SignupApi service.
SignupResponseResult the model 'SignupResponseResult'.
VerifyEmailResponseResult the model 'VerifyEmailResponseResult'.