openapi

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 6 Imported by: 1

README

Go API client for openapi

This is the public Twilio REST API.

Overview

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

  • API version: 1.19.1
  • Package version: 1.0.0
  • Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit https://support.twilio.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 "./openapi"

Documentation for API Endpoints

All URIs are relative to https://trusthub.twilio.com

Class Method HTTP request Description
CustomerProfilesApi CreateCustomerProfile Post /v1/CustomerProfiles
CustomerProfilesApi DeleteCustomerProfile Delete /v1/CustomerProfiles/{Sid}
CustomerProfilesApi FetchCustomerProfile Get /v1/CustomerProfiles/{Sid}
CustomerProfilesApi ListCustomerProfile Get /v1/CustomerProfiles
CustomerProfilesApi UpdateCustomerProfile Post /v1/CustomerProfiles/{Sid}
CustomerProfilesChannelEndpointAssignmentsApi CreateCustomerProfileChannelEndpointAssignment Post /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments
CustomerProfilesChannelEndpointAssignmentsApi DeleteCustomerProfileChannelEndpointAssignment Delete /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments/{Sid}
CustomerProfilesChannelEndpointAssignmentsApi FetchCustomerProfileChannelEndpointAssignment Get /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments/{Sid}
CustomerProfilesChannelEndpointAssignmentsApi ListCustomerProfileChannelEndpointAssignment Get /v1/CustomerProfiles/{CustomerProfileSid}/ChannelEndpointAssignments
CustomerProfilesEntityAssignmentsApi CreateCustomerProfileEntityAssignment Post /v1/CustomerProfiles/{CustomerProfileSid}/EntityAssignments
CustomerProfilesEntityAssignmentsApi DeleteCustomerProfileEntityAssignment Delete /v1/CustomerProfiles/{CustomerProfileSid}/EntityAssignments/{Sid}
CustomerProfilesEntityAssignmentsApi FetchCustomerProfileEntityAssignment Get /v1/CustomerProfiles/{CustomerProfileSid}/EntityAssignments/{Sid}
CustomerProfilesEntityAssignmentsApi ListCustomerProfileEntityAssignment Get /v1/CustomerProfiles/{CustomerProfileSid}/EntityAssignments
CustomerProfilesEvaluationsApi CreateCustomerProfileEvaluation Post /v1/CustomerProfiles/{CustomerProfileSid}/Evaluations
CustomerProfilesEvaluationsApi FetchCustomerProfileEvaluation Get /v1/CustomerProfiles/{CustomerProfileSid}/Evaluations/{Sid}
CustomerProfilesEvaluationsApi ListCustomerProfileEvaluation Get /v1/CustomerProfiles/{CustomerProfileSid}/Evaluations
EndUserTypesApi FetchEndUserType Get /v1/EndUserTypes/{Sid}
EndUserTypesApi ListEndUserType Get /v1/EndUserTypes
EndUsersApi CreateEndUser Post /v1/EndUsers
EndUsersApi DeleteEndUser Delete /v1/EndUsers/{Sid}
EndUsersApi FetchEndUser Get /v1/EndUsers/{Sid}
EndUsersApi ListEndUser Get /v1/EndUsers
EndUsersApi UpdateEndUser Post /v1/EndUsers/{Sid}
PoliciesApi FetchPolicies Get /v1/Policies/{Sid}
PoliciesApi ListPolicies Get /v1/Policies
SupportingDocumentTypesApi FetchSupportingDocumentType Get /v1/SupportingDocumentTypes/{Sid}
SupportingDocumentTypesApi ListSupportingDocumentType Get /v1/SupportingDocumentTypes
SupportingDocumentsApi CreateSupportingDocument Post /v1/SupportingDocuments
SupportingDocumentsApi DeleteSupportingDocument Delete /v1/SupportingDocuments/{Sid}
SupportingDocumentsApi FetchSupportingDocument Get /v1/SupportingDocuments/{Sid}
SupportingDocumentsApi ListSupportingDocument Get /v1/SupportingDocuments
SupportingDocumentsApi UpdateSupportingDocument Post /v1/SupportingDocuments/{Sid}
TrustProductsApi CreateTrustProduct Post /v1/TrustProducts
TrustProductsApi DeleteTrustProduct Delete /v1/TrustProducts/{Sid}
TrustProductsApi FetchTrustProduct Get /v1/TrustProducts/{Sid}
TrustProductsApi ListTrustProduct Get /v1/TrustProducts
TrustProductsApi UpdateTrustProduct Post /v1/TrustProducts/{Sid}
TrustProductsChannelEndpointAssignmentsApi CreateTrustProductChannelEndpointAssignment Post /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments
TrustProductsChannelEndpointAssignmentsApi DeleteTrustProductChannelEndpointAssignment Delete /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments/{Sid}
TrustProductsChannelEndpointAssignmentsApi FetchTrustProductChannelEndpointAssignment Get /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments/{Sid}
TrustProductsChannelEndpointAssignmentsApi ListTrustProductChannelEndpointAssignment Get /v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments
TrustProductsEntityAssignmentsApi CreateTrustProductEntityAssignment Post /v1/TrustProducts/{TrustProductSid}/EntityAssignments
TrustProductsEntityAssignmentsApi DeleteTrustProductEntityAssignment Delete /v1/TrustProducts/{TrustProductSid}/EntityAssignments/{Sid}
TrustProductsEntityAssignmentsApi FetchTrustProductEntityAssignment Get /v1/TrustProducts/{TrustProductSid}/EntityAssignments/{Sid}
TrustProductsEntityAssignmentsApi ListTrustProductEntityAssignment Get /v1/TrustProducts/{TrustProductSid}/EntityAssignments
TrustProductsEvaluationsApi CreateTrustProductEvaluation Post /v1/TrustProducts/{TrustProductSid}/Evaluations
TrustProductsEvaluationsApi FetchTrustProductEvaluation Get /v1/TrustProducts/{TrustProductSid}/Evaluations/{Sid}
TrustProductsEvaluationsApi ListTrustProductEvaluation Get /v1/TrustProducts/{TrustProductSid}/Evaluations

Documentation For Models

Documentation For Authorization

accountSid_authToken

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiService added in v0.11.0

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

func NewApiService added in v0.11.0

func NewApiService(requestHandler *twilio.RequestHandler) *ApiService

func NewApiServiceWithClient added in v0.11.0

func NewApiServiceWithClient(client twilio.BaseClient) *ApiService

func (*ApiService) CreateCustomerProfile added in v0.11.0

func (c *ApiService) CreateCustomerProfile(params *CreateCustomerProfileParams) (*TrusthubV1CustomerProfile, error)

Create a new Customer-Profile.

func (*ApiService) CreateCustomerProfileChannelEndpointAssignment added in v0.11.0

func (c *ApiService) CreateCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, params *CreateCustomerProfileChannelEndpointAssignmentParams) (*TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment, error)

Create a new Assigned Item.

func (*ApiService) CreateCustomerProfileEntityAssignment added in v0.11.0

func (c *ApiService) CreateCustomerProfileEntityAssignment(CustomerProfileSid string, params *CreateCustomerProfileEntityAssignmentParams) (*TrusthubV1CustomerProfileCustomerProfileEntityAssignment, error)

Create a new Assigned Item.

func (*ApiService) CreateCustomerProfileEvaluation added in v0.11.0

func (c *ApiService) CreateCustomerProfileEvaluation(CustomerProfileSid string, params *CreateCustomerProfileEvaluationParams) (*TrusthubV1CustomerProfileCustomerProfileEvaluation, error)

Create a new Evaluation

func (*ApiService) CreateEndUser added in v0.11.0

func (c *ApiService) CreateEndUser(params *CreateEndUserParams) (*TrusthubV1EndUser, error)

Create a new End User.

func (*ApiService) CreateSupportingDocument added in v0.11.0

func (c *ApiService) CreateSupportingDocument(params *CreateSupportingDocumentParams) (*TrusthubV1SupportingDocument, error)

Create a new Supporting Document.

func (*ApiService) CreateTrustProduct added in v0.11.0

func (c *ApiService) CreateTrustProduct(params *CreateTrustProductParams) (*TrusthubV1TrustProduct, error)

Create a new Customer-Profile.

func (*ApiService) CreateTrustProductChannelEndpointAssignment added in v0.11.0

func (c *ApiService) CreateTrustProductChannelEndpointAssignment(TrustProductSid string, params *CreateTrustProductChannelEndpointAssignmentParams) (*TrusthubV1TrustProductTrustProductChannelEndpointAssignment, error)

Create a new Assigned Item.

func (*ApiService) CreateTrustProductEntityAssignment added in v0.11.0

func (c *ApiService) CreateTrustProductEntityAssignment(TrustProductSid string, params *CreateTrustProductEntityAssignmentParams) (*TrusthubV1TrustProductTrustProductEntityAssignment, error)

Create a new Assigned Item.

func (*ApiService) CreateTrustProductEvaluation added in v0.11.0

func (c *ApiService) CreateTrustProductEvaluation(TrustProductSid string, params *CreateTrustProductEvaluationParams) (*TrusthubV1TrustProductTrustProductEvaluation, error)

Create a new Evaluation

func (*ApiService) DeleteCustomerProfile added in v0.11.0

func (c *ApiService) DeleteCustomerProfile(Sid string) error

Delete a specific Customer-Profile.

func (*ApiService) DeleteCustomerProfileChannelEndpointAssignment added in v0.11.0

func (c *ApiService) DeleteCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, Sid string) error

Remove an Assignment Item Instance.

func (*ApiService) DeleteCustomerProfileEntityAssignment added in v0.11.0

func (c *ApiService) DeleteCustomerProfileEntityAssignment(CustomerProfileSid string, Sid string) error

Remove an Assignment Item Instance.

func (*ApiService) DeleteEndUser added in v0.11.0

func (c *ApiService) DeleteEndUser(Sid string) error

Delete a specific End User.

func (*ApiService) DeleteSupportingDocument added in v0.11.0

func (c *ApiService) DeleteSupportingDocument(Sid string) error

Delete a specific Supporting Document.

func (*ApiService) DeleteTrustProduct added in v0.11.0

func (c *ApiService) DeleteTrustProduct(Sid string) error

Delete a specific Customer-Profile.

func (*ApiService) DeleteTrustProductChannelEndpointAssignment added in v0.11.0

func (c *ApiService) DeleteTrustProductChannelEndpointAssignment(TrustProductSid string, Sid string) error

Remove an Assignment Item Instance.

func (*ApiService) DeleteTrustProductEntityAssignment added in v0.11.0

func (c *ApiService) DeleteTrustProductEntityAssignment(TrustProductSid string, Sid string) error

Remove an Assignment Item Instance.

func (*ApiService) FetchCustomerProfile added in v0.11.0

func (c *ApiService) FetchCustomerProfile(Sid string) (*TrusthubV1CustomerProfile, error)

Fetch a specific Customer-Profile instance.

func (*ApiService) FetchCustomerProfileChannelEndpointAssignment added in v0.11.0

func (c *ApiService) FetchCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, Sid string) (*TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment, error)

Fetch specific Assigned Item Instance.

func (*ApiService) FetchCustomerProfileEntityAssignment added in v0.11.0

func (c *ApiService) FetchCustomerProfileEntityAssignment(CustomerProfileSid string, Sid string) (*TrusthubV1CustomerProfileCustomerProfileEntityAssignment, error)

Fetch specific Assigned Item Instance.

func (*ApiService) FetchCustomerProfileEvaluation added in v0.11.0

func (c *ApiService) FetchCustomerProfileEvaluation(CustomerProfileSid string, Sid string) (*TrusthubV1CustomerProfileCustomerProfileEvaluation, error)

Fetch specific Evaluation Instance.

func (*ApiService) FetchEndUser added in v0.11.0

func (c *ApiService) FetchEndUser(Sid string) (*TrusthubV1EndUser, error)

Fetch specific End User Instance.

func (*ApiService) FetchEndUserType added in v0.11.0

func (c *ApiService) FetchEndUserType(Sid string) (*TrusthubV1EndUserType, error)

Fetch a specific End-User Type Instance.

func (*ApiService) FetchPolicies added in v0.11.0

func (c *ApiService) FetchPolicies(Sid string) (*TrusthubV1Policies, error)

Fetch specific Policy Instance.

func (*ApiService) FetchSupportingDocument added in v0.11.0

func (c *ApiService) FetchSupportingDocument(Sid string) (*TrusthubV1SupportingDocument, error)

Fetch specific Supporting Document Instance.

func (*ApiService) FetchSupportingDocumentType added in v0.11.0

func (c *ApiService) FetchSupportingDocumentType(Sid string) (*TrusthubV1SupportingDocumentType, error)

Fetch a specific Supporting Document Type Instance.

func (*ApiService) FetchTrustProduct added in v0.11.0

func (c *ApiService) FetchTrustProduct(Sid string) (*TrusthubV1TrustProduct, error)

Fetch a specific Customer-Profile instance.

func (*ApiService) FetchTrustProductChannelEndpointAssignment added in v0.11.0

func (c *ApiService) FetchTrustProductChannelEndpointAssignment(TrustProductSid string, Sid string) (*TrusthubV1TrustProductTrustProductChannelEndpointAssignment, error)

Fetch specific Assigned Item Instance.

func (*ApiService) FetchTrustProductEntityAssignment added in v0.11.0

func (c *ApiService) FetchTrustProductEntityAssignment(TrustProductSid string, Sid string) (*TrusthubV1TrustProductTrustProductEntityAssignment, error)

Fetch specific Assigned Item Instance.

func (*ApiService) FetchTrustProductEvaluation added in v0.11.0

func (c *ApiService) FetchTrustProductEvaluation(TrustProductSid string, Sid string) (*TrusthubV1TrustProductTrustProductEvaluation, error)

Fetch specific Evaluation Instance.

func (*ApiService) ListCustomerProfile added in v0.11.0

func (c *ApiService) ListCustomerProfile(params *ListCustomerProfileParams) ([]TrusthubV1CustomerProfile, error)

Lists CustomerProfile records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCustomerProfileChannelEndpointAssignment added in v0.11.0

func (c *ApiService) ListCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, params *ListCustomerProfileChannelEndpointAssignmentParams) ([]TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment, error)

Lists CustomerProfileChannelEndpointAssignment records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCustomerProfileEntityAssignment added in v0.11.0

func (c *ApiService) ListCustomerProfileEntityAssignment(CustomerProfileSid string, params *ListCustomerProfileEntityAssignmentParams) ([]TrusthubV1CustomerProfileCustomerProfileEntityAssignment, error)

Lists CustomerProfileEntityAssignment records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListCustomerProfileEvaluation added in v0.11.0

func (c *ApiService) ListCustomerProfileEvaluation(CustomerProfileSid string, params *ListCustomerProfileEvaluationParams) ([]TrusthubV1CustomerProfileCustomerProfileEvaluation, error)

Lists CustomerProfileEvaluation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListEndUser added in v0.11.0

func (c *ApiService) ListEndUser(params *ListEndUserParams) ([]TrusthubV1EndUser, error)

Lists EndUser records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListEndUserType added in v0.11.0

func (c *ApiService) ListEndUserType(params *ListEndUserTypeParams) ([]TrusthubV1EndUserType, error)

Lists EndUserType records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListPolicies added in v0.11.0

func (c *ApiService) ListPolicies(params *ListPoliciesParams) ([]TrusthubV1Policies, error)

Lists Policies records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSupportingDocument added in v0.11.0

func (c *ApiService) ListSupportingDocument(params *ListSupportingDocumentParams) ([]TrusthubV1SupportingDocument, error)

Lists SupportingDocument records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListSupportingDocumentType added in v0.11.0

func (c *ApiService) ListSupportingDocumentType(params *ListSupportingDocumentTypeParams) ([]TrusthubV1SupportingDocumentType, error)

Lists SupportingDocumentType records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListTrustProduct added in v0.11.0

func (c *ApiService) ListTrustProduct(params *ListTrustProductParams) ([]TrusthubV1TrustProduct, error)

Lists TrustProduct records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListTrustProductChannelEndpointAssignment added in v0.11.0

func (c *ApiService) ListTrustProductChannelEndpointAssignment(TrustProductSid string, params *ListTrustProductChannelEndpointAssignmentParams) ([]TrusthubV1TrustProductTrustProductChannelEndpointAssignment, error)

Lists TrustProductChannelEndpointAssignment records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListTrustProductEntityAssignment added in v0.11.0

func (c *ApiService) ListTrustProductEntityAssignment(TrustProductSid string, params *ListTrustProductEntityAssignmentParams) ([]TrusthubV1TrustProductTrustProductEntityAssignment, error)

Lists TrustProductEntityAssignment records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) ListTrustProductEvaluation added in v0.11.0

func (c *ApiService) ListTrustProductEvaluation(TrustProductSid string, params *ListTrustProductEvaluationParams) ([]TrusthubV1TrustProductTrustProductEvaluation, error)

Lists TrustProductEvaluation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.

func (*ApiService) PageCustomerProfile added in v0.13.0

func (c *ApiService) PageCustomerProfile(params *ListCustomerProfileParams, pageToken string, pageNumber string) (*ListCustomerProfileResponse, error)

Retrieve a single page of CustomerProfile records from the API. Request is executed immediately.

func (*ApiService) PageCustomerProfileChannelEndpointAssignment added in v0.13.0

func (c *ApiService) PageCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, params *ListCustomerProfileChannelEndpointAssignmentParams, pageToken string, pageNumber string) (*ListCustomerProfileChannelEndpointAssignmentResponse, error)

Retrieve a single page of CustomerProfileChannelEndpointAssignment records from the API. Request is executed immediately.

func (*ApiService) PageCustomerProfileEntityAssignment added in v0.13.0

func (c *ApiService) PageCustomerProfileEntityAssignment(CustomerProfileSid string, params *ListCustomerProfileEntityAssignmentParams, pageToken string, pageNumber string) (*ListCustomerProfileEntityAssignmentResponse, error)

Retrieve a single page of CustomerProfileEntityAssignment records from the API. Request is executed immediately.

func (*ApiService) PageCustomerProfileEvaluation added in v0.13.0

func (c *ApiService) PageCustomerProfileEvaluation(CustomerProfileSid string, params *ListCustomerProfileEvaluationParams, pageToken string, pageNumber string) (*ListCustomerProfileEvaluationResponse, error)

Retrieve a single page of CustomerProfileEvaluation records from the API. Request is executed immediately.

func (*ApiService) PageEndUser added in v0.13.0

func (c *ApiService) PageEndUser(params *ListEndUserParams, pageToken string, pageNumber string) (*ListEndUserResponse, error)

Retrieve a single page of EndUser records from the API. Request is executed immediately.

func (*ApiService) PageEndUserType added in v0.13.0

func (c *ApiService) PageEndUserType(params *ListEndUserTypeParams, pageToken string, pageNumber string) (*ListEndUserTypeResponse, error)

Retrieve a single page of EndUserType records from the API. Request is executed immediately.

func (*ApiService) PagePolicies added in v0.13.0

func (c *ApiService) PagePolicies(params *ListPoliciesParams, pageToken string, pageNumber string) (*ListPoliciesResponse, error)

Retrieve a single page of Policies records from the API. Request is executed immediately.

func (*ApiService) PageSupportingDocument added in v0.13.0

func (c *ApiService) PageSupportingDocument(params *ListSupportingDocumentParams, pageToken string, pageNumber string) (*ListSupportingDocumentResponse, error)

Retrieve a single page of SupportingDocument records from the API. Request is executed immediately.

func (*ApiService) PageSupportingDocumentType added in v0.13.0

func (c *ApiService) PageSupportingDocumentType(params *ListSupportingDocumentTypeParams, pageToken string, pageNumber string) (*ListSupportingDocumentTypeResponse, error)

Retrieve a single page of SupportingDocumentType records from the API. Request is executed immediately.

func (*ApiService) PageTrustProduct added in v0.13.0

func (c *ApiService) PageTrustProduct(params *ListTrustProductParams, pageToken string, pageNumber string) (*ListTrustProductResponse, error)

Retrieve a single page of TrustProduct records from the API. Request is executed immediately.

func (*ApiService) PageTrustProductChannelEndpointAssignment added in v0.13.0

func (c *ApiService) PageTrustProductChannelEndpointAssignment(TrustProductSid string, params *ListTrustProductChannelEndpointAssignmentParams, pageToken string, pageNumber string) (*ListTrustProductChannelEndpointAssignmentResponse, error)

Retrieve a single page of TrustProductChannelEndpointAssignment records from the API. Request is executed immediately.

func (*ApiService) PageTrustProductEntityAssignment added in v0.13.0

func (c *ApiService) PageTrustProductEntityAssignment(TrustProductSid string, params *ListTrustProductEntityAssignmentParams, pageToken string, pageNumber string) (*ListTrustProductEntityAssignmentResponse, error)

Retrieve a single page of TrustProductEntityAssignment records from the API. Request is executed immediately.

func (*ApiService) PageTrustProductEvaluation added in v0.13.0

func (c *ApiService) PageTrustProductEvaluation(TrustProductSid string, params *ListTrustProductEvaluationParams, pageToken string, pageNumber string) (*ListTrustProductEvaluationResponse, error)

Retrieve a single page of TrustProductEvaluation records from the API. Request is executed immediately.

func (*ApiService) StreamCustomerProfile added in v0.13.0

func (c *ApiService) StreamCustomerProfile(params *ListCustomerProfileParams) (chan TrusthubV1CustomerProfile, error)

Streams CustomerProfile records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCustomerProfileChannelEndpointAssignment added in v0.13.0

func (c *ApiService) StreamCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, params *ListCustomerProfileChannelEndpointAssignmentParams) (chan TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment, error)

Streams CustomerProfileChannelEndpointAssignment records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCustomerProfileEntityAssignment added in v0.13.0

func (c *ApiService) StreamCustomerProfileEntityAssignment(CustomerProfileSid string, params *ListCustomerProfileEntityAssignmentParams) (chan TrusthubV1CustomerProfileCustomerProfileEntityAssignment, error)

Streams CustomerProfileEntityAssignment records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamCustomerProfileEvaluation added in v0.13.0

func (c *ApiService) StreamCustomerProfileEvaluation(CustomerProfileSid string, params *ListCustomerProfileEvaluationParams) (chan TrusthubV1CustomerProfileCustomerProfileEvaluation, error)

Streams CustomerProfileEvaluation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamEndUser added in v0.13.0

func (c *ApiService) StreamEndUser(params *ListEndUserParams) (chan TrusthubV1EndUser, error)

Streams EndUser records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamEndUserType added in v0.13.0

func (c *ApiService) StreamEndUserType(params *ListEndUserTypeParams) (chan TrusthubV1EndUserType, error)

Streams EndUserType records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamPolicies added in v0.13.0

func (c *ApiService) StreamPolicies(params *ListPoliciesParams) (chan TrusthubV1Policies, error)

Streams Policies records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSupportingDocument added in v0.13.0

func (c *ApiService) StreamSupportingDocument(params *ListSupportingDocumentParams) (chan TrusthubV1SupportingDocument, error)

Streams SupportingDocument records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamSupportingDocumentType added in v0.13.0

func (c *ApiService) StreamSupportingDocumentType(params *ListSupportingDocumentTypeParams) (chan TrusthubV1SupportingDocumentType, error)

Streams SupportingDocumentType records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamTrustProduct added in v0.13.0

func (c *ApiService) StreamTrustProduct(params *ListTrustProductParams) (chan TrusthubV1TrustProduct, error)

Streams TrustProduct records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamTrustProductChannelEndpointAssignment added in v0.13.0

func (c *ApiService) StreamTrustProductChannelEndpointAssignment(TrustProductSid string, params *ListTrustProductChannelEndpointAssignmentParams) (chan TrusthubV1TrustProductTrustProductChannelEndpointAssignment, error)

Streams TrustProductChannelEndpointAssignment records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamTrustProductEntityAssignment added in v0.13.0

func (c *ApiService) StreamTrustProductEntityAssignment(TrustProductSid string, params *ListTrustProductEntityAssignmentParams) (chan TrusthubV1TrustProductTrustProductEntityAssignment, error)

Streams TrustProductEntityAssignment records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) StreamTrustProductEvaluation added in v0.13.0

func (c *ApiService) StreamTrustProductEvaluation(TrustProductSid string, params *ListTrustProductEvaluationParams) (chan TrusthubV1TrustProductTrustProductEvaluation, error)

Streams TrustProductEvaluation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.

func (*ApiService) UpdateCustomerProfile added in v0.11.0

func (c *ApiService) UpdateCustomerProfile(Sid string, params *UpdateCustomerProfileParams) (*TrusthubV1CustomerProfile, error)

Updates a Customer-Profile in an account.

func (*ApiService) UpdateEndUser added in v0.11.0

func (c *ApiService) UpdateEndUser(Sid string, params *UpdateEndUserParams) (*TrusthubV1EndUser, error)

Update an existing End User.

func (*ApiService) UpdateSupportingDocument added in v0.11.0

func (c *ApiService) UpdateSupportingDocument(Sid string, params *UpdateSupportingDocumentParams) (*TrusthubV1SupportingDocument, error)

Update an existing Supporting Document.

func (*ApiService) UpdateTrustProduct added in v0.11.0

func (c *ApiService) UpdateTrustProduct(Sid string, params *UpdateTrustProductParams) (*TrusthubV1TrustProduct, error)

Updates a Customer-Profile in an account.

type CreateCustomerProfileChannelEndpointAssignmentParams

type CreateCustomerProfileChannelEndpointAssignmentParams struct {
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"ChannelEndpointSid,omitempty"`
	// The type of channel endpoint. eg: phone-number
	ChannelEndpointType *string `json:"ChannelEndpointType,omitempty"`
}

Optional parameters for the method 'CreateCustomerProfileChannelEndpointAssignment'

func (*CreateCustomerProfileChannelEndpointAssignmentParams) SetChannelEndpointSid

func (*CreateCustomerProfileChannelEndpointAssignmentParams) SetChannelEndpointType

type CreateCustomerProfileEntityAssignmentParams

type CreateCustomerProfileEntityAssignmentParams struct {
	// The SID of an object bag that holds information of the different items.
	ObjectSid *string `json:"ObjectSid,omitempty"`
}

Optional parameters for the method 'CreateCustomerProfileEntityAssignment'

func (*CreateCustomerProfileEntityAssignmentParams) SetObjectSid

type CreateCustomerProfileEvaluationParams

type CreateCustomerProfileEvaluationParams struct {
	// The unique string of a policy that is associated to the customer_profile resource.
	PolicySid *string `json:"PolicySid,omitempty"`
}

Optional parameters for the method 'CreateCustomerProfileEvaluation'

func (*CreateCustomerProfileEvaluationParams) SetPolicySid

type CreateCustomerProfileParams

type CreateCustomerProfileParams struct {
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The unique string of a policy that is associated to the Customer-Profile resource.
	PolicySid *string `json:"PolicySid,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'CreateCustomerProfile'

func (*CreateCustomerProfileParams) SetEmail

func (*CreateCustomerProfileParams) SetFriendlyName

func (params *CreateCustomerProfileParams) SetFriendlyName(FriendlyName string) *CreateCustomerProfileParams

func (*CreateCustomerProfileParams) SetPolicySid

func (params *CreateCustomerProfileParams) SetPolicySid(PolicySid string) *CreateCustomerProfileParams

func (*CreateCustomerProfileParams) SetStatusCallback

func (params *CreateCustomerProfileParams) SetStatusCallback(StatusCallback string) *CreateCustomerProfileParams

type CreateEndUserParams

type CreateEndUserParams struct {
	// The set of parameters that are the attributes of the End User resource which are derived End User Types.
	Attributes *map[string]interface{} `json:"Attributes,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The type of end user of the Bundle resource - can be `individual` or `business`.
	Type *string `json:"Type,omitempty"`
}

Optional parameters for the method 'CreateEndUser'

func (*CreateEndUserParams) SetAttributes

func (params *CreateEndUserParams) SetAttributes(Attributes map[string]interface{}) *CreateEndUserParams

func (*CreateEndUserParams) SetFriendlyName

func (params *CreateEndUserParams) SetFriendlyName(FriendlyName string) *CreateEndUserParams

func (*CreateEndUserParams) SetType

func (params *CreateEndUserParams) SetType(Type string) *CreateEndUserParams

type CreateSupportingDocumentParams

type CreateSupportingDocumentParams struct {
	// The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types.
	Attributes *map[string]interface{} `json:"Attributes,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The type of the Supporting Document.
	Type *string `json:"Type,omitempty"`
}

Optional parameters for the method 'CreateSupportingDocument'

func (*CreateSupportingDocumentParams) SetAttributes

func (params *CreateSupportingDocumentParams) SetAttributes(Attributes map[string]interface{}) *CreateSupportingDocumentParams

func (*CreateSupportingDocumentParams) SetFriendlyName

func (params *CreateSupportingDocumentParams) SetFriendlyName(FriendlyName string) *CreateSupportingDocumentParams

func (*CreateSupportingDocumentParams) SetType

type CreateTrustProductChannelEndpointAssignmentParams

type CreateTrustProductChannelEndpointAssignmentParams struct {
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"ChannelEndpointSid,omitempty"`
	// The type of channel endpoint. eg: phone-number
	ChannelEndpointType *string `json:"ChannelEndpointType,omitempty"`
}

Optional parameters for the method 'CreateTrustProductChannelEndpointAssignment'

func (*CreateTrustProductChannelEndpointAssignmentParams) SetChannelEndpointSid

func (*CreateTrustProductChannelEndpointAssignmentParams) SetChannelEndpointType

type CreateTrustProductEntityAssignmentParams

type CreateTrustProductEntityAssignmentParams struct {
	// The SID of an object bag that holds information of the different items.
	ObjectSid *string `json:"ObjectSid,omitempty"`
}

Optional parameters for the method 'CreateTrustProductEntityAssignment'

func (*CreateTrustProductEntityAssignmentParams) SetObjectSid

type CreateTrustProductEvaluationParams

type CreateTrustProductEvaluationParams struct {
	// The unique string of a policy that is associated to the customer_profile resource.
	PolicySid *string `json:"PolicySid,omitempty"`
}

Optional parameters for the method 'CreateTrustProductEvaluation'

func (*CreateTrustProductEvaluationParams) SetPolicySid

type CreateTrustProductParams

type CreateTrustProductParams struct {
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The unique string of a policy that is associated to the Customer-Profile resource.
	PolicySid *string `json:"PolicySid,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'CreateTrustProduct'

func (*CreateTrustProductParams) SetEmail

func (params *CreateTrustProductParams) SetEmail(Email string) *CreateTrustProductParams

func (*CreateTrustProductParams) SetFriendlyName

func (params *CreateTrustProductParams) SetFriendlyName(FriendlyName string) *CreateTrustProductParams

func (*CreateTrustProductParams) SetPolicySid

func (params *CreateTrustProductParams) SetPolicySid(PolicySid string) *CreateTrustProductParams

func (*CreateTrustProductParams) SetStatusCallback

func (params *CreateTrustProductParams) SetStatusCallback(StatusCallback string) *CreateTrustProductParams

type ListCustomerProfileChannelEndpointAssignmentParams

type ListCustomerProfileChannelEndpointAssignmentParams struct {
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"ChannelEndpointSid,omitempty"`
	// comma separated list of channel endpoint sids
	ChannelEndpointSids *string `json:"ChannelEndpointSids,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCustomerProfileChannelEndpointAssignment'

func (*ListCustomerProfileChannelEndpointAssignmentParams) SetChannelEndpointSid

func (*ListCustomerProfileChannelEndpointAssignmentParams) SetChannelEndpointSids

func (*ListCustomerProfileChannelEndpointAssignmentParams) SetLimit added in v0.13.0

func (*ListCustomerProfileChannelEndpointAssignmentParams) SetPageSize

type ListCustomerProfileChannelEndpointAssignmentResponse

type ListCustomerProfileChannelEndpointAssignmentResponse struct {
	Meta    ListCustomerProfileResponseMeta                                     `json:"meta,omitempty"`
	Results []TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment `json:"results,omitempty"`
}

ListCustomerProfileChannelEndpointAssignmentResponse struct for ListCustomerProfileChannelEndpointAssignmentResponse

type ListCustomerProfileEntityAssignmentParams

type ListCustomerProfileEntityAssignmentParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCustomerProfileEntityAssignment'

func (*ListCustomerProfileEntityAssignmentParams) SetLimit added in v0.13.0

func (*ListCustomerProfileEntityAssignmentParams) SetPageSize

type ListCustomerProfileEntityAssignmentResponse

type ListCustomerProfileEntityAssignmentResponse struct {
	Meta    ListCustomerProfileResponseMeta                            `json:"meta,omitempty"`
	Results []TrusthubV1CustomerProfileCustomerProfileEntityAssignment `json:"results,omitempty"`
}

ListCustomerProfileEntityAssignmentResponse struct for ListCustomerProfileEntityAssignmentResponse

type ListCustomerProfileEvaluationParams

type ListCustomerProfileEvaluationParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCustomerProfileEvaluation'

func (*ListCustomerProfileEvaluationParams) SetLimit added in v0.13.0

func (*ListCustomerProfileEvaluationParams) SetPageSize

type ListCustomerProfileEvaluationResponse

type ListCustomerProfileEvaluationResponse struct {
	Meta    ListCustomerProfileResponseMeta                      `json:"meta,omitempty"`
	Results []TrusthubV1CustomerProfileCustomerProfileEvaluation `json:"results,omitempty"`
}

ListCustomerProfileEvaluationResponse struct for ListCustomerProfileEvaluationResponse

type ListCustomerProfileParams

type ListCustomerProfileParams struct {
	// The verification status of the Customer-Profile resource.
	Status *string `json:"Status,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The unique string of a policy that is associated to the Customer-Profile resource.
	PolicySid *string `json:"PolicySid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListCustomerProfile'

func (*ListCustomerProfileParams) SetFriendlyName

func (params *ListCustomerProfileParams) SetFriendlyName(FriendlyName string) *ListCustomerProfileParams

func (*ListCustomerProfileParams) SetLimit added in v0.13.0

func (params *ListCustomerProfileParams) SetLimit(Limit int) *ListCustomerProfileParams

func (*ListCustomerProfileParams) SetPageSize

func (params *ListCustomerProfileParams) SetPageSize(PageSize int) *ListCustomerProfileParams

func (*ListCustomerProfileParams) SetPolicySid

func (params *ListCustomerProfileParams) SetPolicySid(PolicySid string) *ListCustomerProfileParams

func (*ListCustomerProfileParams) SetStatus

func (params *ListCustomerProfileParams) SetStatus(Status string) *ListCustomerProfileParams

type ListCustomerProfileResponse

type ListCustomerProfileResponse struct {
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
	Results []TrusthubV1CustomerProfile     `json:"results,omitempty"`
}

ListCustomerProfileResponse struct for ListCustomerProfileResponse

type ListCustomerProfileResponseMeta

type ListCustomerProfileResponseMeta struct {
	FirstPageUrl    string `json:"first_page_url,omitempty"`
	Key             string `json:"key,omitempty"`
	NextPageUrl     string `json:"next_page_url,omitempty"`
	Page            int    `json:"page,omitempty"`
	PageSize        int    `json:"page_size,omitempty"`
	PreviousPageUrl string `json:"previous_page_url,omitempty"`
	Url             string `json:"url,omitempty"`
}

ListCustomerProfileResponseMeta struct for ListCustomerProfileResponseMeta

type ListEndUserParams

type ListEndUserParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListEndUser'

func (*ListEndUserParams) SetLimit added in v0.13.0

func (params *ListEndUserParams) SetLimit(Limit int) *ListEndUserParams

func (*ListEndUserParams) SetPageSize

func (params *ListEndUserParams) SetPageSize(PageSize int) *ListEndUserParams

type ListEndUserResponse

type ListEndUserResponse struct {
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
	Results []TrusthubV1EndUser             `json:"results,omitempty"`
}

ListEndUserResponse struct for ListEndUserResponse

type ListEndUserTypeParams

type ListEndUserTypeParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListEndUserType'

func (*ListEndUserTypeParams) SetLimit added in v0.13.0

func (params *ListEndUserTypeParams) SetLimit(Limit int) *ListEndUserTypeParams

func (*ListEndUserTypeParams) SetPageSize

func (params *ListEndUserTypeParams) SetPageSize(PageSize int) *ListEndUserTypeParams

type ListEndUserTypeResponse

type ListEndUserTypeResponse struct {
	EndUserTypes []TrusthubV1EndUserType         `json:"end_user_types,omitempty"`
	Meta         ListCustomerProfileResponseMeta `json:"meta,omitempty"`
}

ListEndUserTypeResponse struct for ListEndUserTypeResponse

type ListPoliciesParams

type ListPoliciesParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListPolicies'

func (*ListPoliciesParams) SetLimit added in v0.13.0

func (params *ListPoliciesParams) SetLimit(Limit int) *ListPoliciesParams

func (*ListPoliciesParams) SetPageSize

func (params *ListPoliciesParams) SetPageSize(PageSize int) *ListPoliciesParams

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
	Results []TrusthubV1Policies            `json:"results,omitempty"`
}

ListPoliciesResponse struct for ListPoliciesResponse

type ListSupportingDocumentParams

type ListSupportingDocumentParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSupportingDocument'

func (*ListSupportingDocumentParams) SetLimit added in v0.13.0

func (*ListSupportingDocumentParams) SetPageSize

func (params *ListSupportingDocumentParams) SetPageSize(PageSize int) *ListSupportingDocumentParams

type ListSupportingDocumentResponse

type ListSupportingDocumentResponse struct {
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
	Results []TrusthubV1SupportingDocument  `json:"results,omitempty"`
}

ListSupportingDocumentResponse struct for ListSupportingDocumentResponse

type ListSupportingDocumentTypeParams

type ListSupportingDocumentTypeParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListSupportingDocumentType'

func (*ListSupportingDocumentTypeParams) SetLimit added in v0.13.0

func (*ListSupportingDocumentTypeParams) SetPageSize

type ListSupportingDocumentTypeResponse

type ListSupportingDocumentTypeResponse struct {
	Meta                    ListCustomerProfileResponseMeta    `json:"meta,omitempty"`
	SupportingDocumentTypes []TrusthubV1SupportingDocumentType `json:"supporting_document_types,omitempty"`
}

ListSupportingDocumentTypeResponse struct for ListSupportingDocumentTypeResponse

type ListTrustProductChannelEndpointAssignmentParams

type ListTrustProductChannelEndpointAssignmentParams struct {
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"ChannelEndpointSid,omitempty"`
	// comma separated list of channel endpoint sids
	ChannelEndpointSids *string `json:"ChannelEndpointSids,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListTrustProductChannelEndpointAssignment'

func (*ListTrustProductChannelEndpointAssignmentParams) SetChannelEndpointSid

func (*ListTrustProductChannelEndpointAssignmentParams) SetChannelEndpointSids

func (*ListTrustProductChannelEndpointAssignmentParams) SetLimit added in v0.13.0

func (*ListTrustProductChannelEndpointAssignmentParams) SetPageSize

type ListTrustProductChannelEndpointAssignmentResponse

type ListTrustProductChannelEndpointAssignmentResponse struct {
	Meta    ListCustomerProfileResponseMeta                               `json:"meta,omitempty"`
	Results []TrusthubV1TrustProductTrustProductChannelEndpointAssignment `json:"results,omitempty"`
}

ListTrustProductChannelEndpointAssignmentResponse struct for ListTrustProductChannelEndpointAssignmentResponse

type ListTrustProductEntityAssignmentParams

type ListTrustProductEntityAssignmentParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListTrustProductEntityAssignment'

func (*ListTrustProductEntityAssignmentParams) SetLimit added in v0.13.0

func (*ListTrustProductEntityAssignmentParams) SetPageSize

type ListTrustProductEntityAssignmentResponse

type ListTrustProductEntityAssignmentResponse struct {
	Meta    ListCustomerProfileResponseMeta                      `json:"meta,omitempty"`
	Results []TrusthubV1TrustProductTrustProductEntityAssignment `json:"results,omitempty"`
}

ListTrustProductEntityAssignmentResponse struct for ListTrustProductEntityAssignmentResponse

type ListTrustProductEvaluationParams

type ListTrustProductEvaluationParams struct {
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListTrustProductEvaluation'

func (*ListTrustProductEvaluationParams) SetLimit added in v0.13.0

func (*ListTrustProductEvaluationParams) SetPageSize

type ListTrustProductEvaluationResponse

type ListTrustProductEvaluationResponse struct {
	Meta    ListCustomerProfileResponseMeta                `json:"meta,omitempty"`
	Results []TrusthubV1TrustProductTrustProductEvaluation `json:"results,omitempty"`
}

ListTrustProductEvaluationResponse struct for ListTrustProductEvaluationResponse

type ListTrustProductParams

type ListTrustProductParams struct {
	// The verification status of the Customer-Profile resource.
	Status *string `json:"Status,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The unique string of a policy that is associated to the Customer-Profile resource.
	PolicySid *string `json:"PolicySid,omitempty"`
	// How many resources to return in each list page. The default is 50, and the maximum is 1000.
	PageSize *int `json:"PageSize,omitempty"`
	// Max number of records to return.
	Limit *int `json:"limit,omitempty"`
}

Optional parameters for the method 'ListTrustProduct'

func (*ListTrustProductParams) SetFriendlyName

func (params *ListTrustProductParams) SetFriendlyName(FriendlyName string) *ListTrustProductParams

func (*ListTrustProductParams) SetLimit added in v0.13.0

func (params *ListTrustProductParams) SetLimit(Limit int) *ListTrustProductParams

func (*ListTrustProductParams) SetPageSize

func (params *ListTrustProductParams) SetPageSize(PageSize int) *ListTrustProductParams

func (*ListTrustProductParams) SetPolicySid

func (params *ListTrustProductParams) SetPolicySid(PolicySid string) *ListTrustProductParams

func (*ListTrustProductParams) SetStatus

func (params *ListTrustProductParams) SetStatus(Status string) *ListTrustProductParams

type ListTrustProductResponse

type ListTrustProductResponse struct {
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
	Results []TrusthubV1TrustProduct        `json:"results,omitempty"`
}

ListTrustProductResponse struct for ListTrustProductResponse

type TrusthubV1CustomerProfile

type TrusthubV1CustomerProfile struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was last updated
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The email address
	Email *string `json:"email,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The URLs of the Assigned Items of the Customer-Profile resource
	Links *map[string]interface{} `json:"links,omitempty"`
	// The unique string of a policy.
	PolicySid *string `json:"policy_sid,omitempty"`
	// The unique string that identifies the resource.
	Sid *string `json:"sid,omitempty"`
	// The verification status of the Customer-Profile resource
	Status *string `json:"status,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The absolute URL of the Customer-Profile resource
	Url *string `json:"url,omitempty"`
	// The ISO 8601 date and time in GMT when the resource will be valid until.
	ValidUntil *time.Time `json:"valid_until,omitempty"`
}

TrusthubV1CustomerProfile struct for TrusthubV1CustomerProfile

type TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment

type TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The sid of an channel endpoint
	ChannelEndpointSid *string `json:"channel_endpoint_sid,omitempty"`
	// The type of channel endpoint
	ChannelEndpointType *string `json:"channel_endpoint_type,omitempty"`
	// The unique string that identifies the CustomerProfile resource.
	CustomerProfileSid *string `json:"customer_profile_sid,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The absolute URL of the Identity resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment struct for TrusthubV1CustomerProfileCustomerProfileChannelEndpointAssignment

type TrusthubV1CustomerProfileCustomerProfileEntityAssignment

type TrusthubV1CustomerProfileCustomerProfileEntityAssignment struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string that identifies the CustomerProfile resource.
	CustomerProfileSid *string `json:"customer_profile_sid,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The sid of an object bag
	ObjectSid *string `json:"object_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The absolute URL of the Identity resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1CustomerProfileCustomerProfileEntityAssignment struct for TrusthubV1CustomerProfileCustomerProfileEntityAssignment

type TrusthubV1CustomerProfileCustomerProfileEvaluation

type TrusthubV1CustomerProfileCustomerProfileEvaluation struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string that identifies the resource
	CustomerProfileSid *string    `json:"customer_profile_sid,omitempty"`
	DateCreated        *time.Time `json:"date_created,omitempty"`
	// The unique string of a policy
	PolicySid *string `json:"policy_sid,omitempty"`
	// The results of the Evaluation resource
	Results *[]map[string]interface{} `json:"results,omitempty"`
	// The unique string that identifies the Evaluation resource
	Sid *string `json:"sid,omitempty"`
	// The compliance status of the Evaluation resource
	Status *string `json:"status,omitempty"`
	Url    *string `json:"url,omitempty"`
}

TrusthubV1CustomerProfileCustomerProfileEvaluation struct for TrusthubV1CustomerProfileCustomerProfileEvaluation

type TrusthubV1EndUser

type TrusthubV1EndUser struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The set of parameters that compose the End Users resource
	Attributes *map[string]interface{} `json:"attributes,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was last updated
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The type of end user of the Bundle resource
	Type *string `json:"type,omitempty"`
	// The absolute URL of the End User resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1EndUser struct for TrusthubV1EndUser

type TrusthubV1EndUserType

type TrusthubV1EndUserType struct {
	// The required information for creating an End-User.
	Fields *[]map[string]interface{} `json:"fields,omitempty"`
	// A human-readable description of the End-User Type resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A machine-readable description of the End-User Type resource
	MachineName *string `json:"machine_name,omitempty"`
	// The unique string that identifies the End-User Type resource
	Sid *string `json:"sid,omitempty"`
	// The absolute URL of the End-User Type resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1EndUserType struct for TrusthubV1EndUserType

type TrusthubV1Policies

type TrusthubV1Policies struct {
	// A human-readable description of the Policy resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The sid of a Policy object that dictates requirements
	Requirements *map[string]interface{} `json:"requirements,omitempty"`
	// The unique string that identifies the Policy resource
	Sid *string `json:"sid,omitempty"`
	// The absolute URL of the Policy resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1Policies struct for TrusthubV1Policies

type TrusthubV1SupportingDocument

type TrusthubV1SupportingDocument struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The set of parameters that compose the Supporting Documents resource
	Attributes *map[string]interface{} `json:"attributes,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was last updated
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The image type of the file
	MimeType *string `json:"mime_type,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The verification status of the Supporting Document resource
	Status *string `json:"status,omitempty"`
	// The type of the Supporting Document
	Type *string `json:"type,omitempty"`
	// The absolute URL of the Supporting Document resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1SupportingDocument struct for TrusthubV1SupportingDocument

type TrusthubV1SupportingDocumentType

type TrusthubV1SupportingDocumentType struct {
	// The required information for creating a Supporting Document
	Fields *[]map[string]interface{} `json:"fields,omitempty"`
	// A human-readable description of the Supporting Document Type resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The machine-readable description of the Supporting Document Type resource
	MachineName *string `json:"machine_name,omitempty"`
	// The unique string that identifies the Supporting Document Type resource
	Sid *string `json:"sid,omitempty"`
	// The absolute URL of the Supporting Document Type resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1SupportingDocumentType struct for TrusthubV1SupportingDocumentType

type TrusthubV1TrustProduct

type TrusthubV1TrustProduct struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was last updated
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The email address
	Email *string `json:"email,omitempty"`
	// The string that you assigned to describe the resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The URLs of the Assigned Items of the Customer-Profile resource
	Links *map[string]interface{} `json:"links,omitempty"`
	// The unique string of a policy.
	PolicySid *string `json:"policy_sid,omitempty"`
	// The unique string that identifies the resource.
	Sid *string `json:"sid,omitempty"`
	// The verification status of the Customer-Profile resource
	Status *string `json:"status,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The absolute URL of the Customer-Profile resource
	Url *string `json:"url,omitempty"`
	// The ISO 8601 date and time in GMT when the resource will be valid until.
	ValidUntil *time.Time `json:"valid_until,omitempty"`
}

TrusthubV1TrustProduct struct for TrusthubV1TrustProduct

type TrusthubV1TrustProductTrustProductChannelEndpointAssignment

type TrusthubV1TrustProductTrustProductChannelEndpointAssignment struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The sid of an channel endpoint
	ChannelEndpointSid *string `json:"channel_endpoint_sid,omitempty"`
	// The type of channel endpoint
	ChannelEndpointType *string `json:"channel_endpoint_type,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The unique string that identifies the CustomerProfile resource.
	TrustProductSid *string `json:"trust_product_sid,omitempty"`
	// The absolute URL of the Identity resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1TrustProductTrustProductChannelEndpointAssignment struct for TrusthubV1TrustProductTrustProductChannelEndpointAssignment

type TrusthubV1TrustProductTrustProductEntityAssignment

type TrusthubV1TrustProductTrustProductEntityAssignment struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The ISO 8601 date and time in GMT when the resource was created
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The sid of an object bag
	ObjectSid *string `json:"object_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The unique string that identifies the TrustProduct resource.
	TrustProductSid *string `json:"trust_product_sid,omitempty"`
	// The absolute URL of the Identity resource
	Url *string `json:"url,omitempty"`
}

TrusthubV1TrustProductTrustProductEntityAssignment struct for TrusthubV1TrustProductTrustProductEntityAssignment

type TrusthubV1TrustProductTrustProductEvaluation

type TrusthubV1TrustProductTrustProductEvaluation struct {
	// The SID of the Account that created the resource
	AccountSid  *string    `json:"account_sid,omitempty"`
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The unique string of a policy
	PolicySid *string `json:"policy_sid,omitempty"`
	// The results of the Evaluation resource
	Results *[]map[string]interface{} `json:"results,omitempty"`
	// The unique string that identifies the Evaluation resource
	Sid *string `json:"sid,omitempty"`
	// The compliance status of the Evaluation resource
	Status *string `json:"status,omitempty"`
	// The unique string that identifies the resource
	TrustProductSid *string `json:"trust_product_sid,omitempty"`
	Url             *string `json:"url,omitempty"`
}

TrusthubV1TrustProductTrustProductEvaluation struct for TrusthubV1TrustProductTrustProductEvaluation

type UpdateCustomerProfileParams

type UpdateCustomerProfileParams struct {
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The verification status of the Customer-Profile resource.
	Status *string `json:"Status,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'UpdateCustomerProfile'

func (*UpdateCustomerProfileParams) SetEmail

func (*UpdateCustomerProfileParams) SetFriendlyName

func (params *UpdateCustomerProfileParams) SetFriendlyName(FriendlyName string) *UpdateCustomerProfileParams

func (*UpdateCustomerProfileParams) SetStatus

func (*UpdateCustomerProfileParams) SetStatusCallback

func (params *UpdateCustomerProfileParams) SetStatusCallback(StatusCallback string) *UpdateCustomerProfileParams

type UpdateEndUserParams

type UpdateEndUserParams struct {
	// The set of parameters that are the attributes of the End User resource which are derived End User Types.
	Attributes *map[string]interface{} `json:"Attributes,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateEndUser'

func (*UpdateEndUserParams) SetAttributes

func (params *UpdateEndUserParams) SetAttributes(Attributes map[string]interface{}) *UpdateEndUserParams

func (*UpdateEndUserParams) SetFriendlyName

func (params *UpdateEndUserParams) SetFriendlyName(FriendlyName string) *UpdateEndUserParams

type UpdateSupportingDocumentParams

type UpdateSupportingDocumentParams struct {
	// The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types.
	Attributes *map[string]interface{} `json:"Attributes,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'UpdateSupportingDocument'

func (*UpdateSupportingDocumentParams) SetAttributes

func (params *UpdateSupportingDocumentParams) SetAttributes(Attributes map[string]interface{}) *UpdateSupportingDocumentParams

func (*UpdateSupportingDocumentParams) SetFriendlyName

func (params *UpdateSupportingDocumentParams) SetFriendlyName(FriendlyName string) *UpdateSupportingDocumentParams

type UpdateTrustProductParams

type UpdateTrustProductParams struct {
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The verification status of the Customer-Profile resource.
	Status *string `json:"Status,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'UpdateTrustProduct'

func (*UpdateTrustProductParams) SetEmail

func (params *UpdateTrustProductParams) SetEmail(Email string) *UpdateTrustProductParams

func (*UpdateTrustProductParams) SetFriendlyName

func (params *UpdateTrustProductParams) SetFriendlyName(FriendlyName string) *UpdateTrustProductParams

func (*UpdateTrustProductParams) SetStatus

func (params *UpdateTrustProductParams) SetStatus(Status string) *UpdateTrustProductParams

func (*UpdateTrustProductParams) SetStatusCallback

func (params *UpdateTrustProductParams) SetStatusCallback(StatusCallback string) *UpdateTrustProductParams

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL