openapi

package
v0.0.0-...-e041b52 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 6 Imported by: 0

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.52.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
ComplianceInquiriesCustomersInitializeApi CreateComplianceInquiry Post /v1/ComplianceInquiries/Customers/Initialize
ComplianceInquiriesCustomersInitializeApi UpdateComplianceInquiry Post /v1/ComplianceInquiries/Customers/{CustomerId}/Initialize
ComplianceInquiriesTollfreeInitializeApi CreateComplianceTollfreeInquiry Post /v1/ComplianceInquiries/Tollfree/Initialize
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

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

func NewApiService

func NewApiService(requestHandler *twilio.RequestHandler) *ApiService

func NewApiServiceWithClient

func NewApiServiceWithClient(client twilio.BaseClient) *ApiService

func (*ApiService) CreateComplianceInquiry

func (c *ApiService) CreateComplianceInquiry(params *CreateComplianceInquiryParams) (*TrusthubV1ComplianceInquiry, error)

Create a new Compliance Inquiry for the authenticated account. This is necessary to start a new embedded session.

func (*ApiService) CreateComplianceTollfreeInquiry

func (c *ApiService) CreateComplianceTollfreeInquiry(params *CreateComplianceTollfreeInquiryParams) (*TrusthubV1ComplianceTollfreeInquiry, error)

Create a new Compliance Tollfree Verification Inquiry for the authenticated account. This is necessary to start a new embedded session.

func (*ApiService) CreateCustomerProfile

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

Create a new Customer-Profile.

func (*ApiService) CreateCustomerProfileChannelEndpointAssignment

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

Create a new Assigned Item.

func (*ApiService) CreateCustomerProfileEntityAssignment

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

Create a new Assigned Item.

func (*ApiService) CreateCustomerProfileEvaluation

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

Create a new Evaluation

func (*ApiService) CreateEndUser

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

Create a new End User.

func (*ApiService) CreateSupportingDocument

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

Create a new Supporting Document.

func (*ApiService) CreateTrustProduct

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

Create a new Customer-Profile.

func (*ApiService) CreateTrustProductChannelEndpointAssignment

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

Create a new Assigned Item.

func (*ApiService) CreateTrustProductEntityAssignment

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

Create a new Assigned Item.

func (*ApiService) CreateTrustProductEvaluation

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

Create a new Evaluation

func (*ApiService) DeleteCustomerProfile

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

Delete a specific Customer-Profile.

func (*ApiService) DeleteCustomerProfileChannelEndpointAssignment

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

Remove an Assignment Item Instance.

func (*ApiService) DeleteCustomerProfileEntityAssignment

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

Remove an Assignment Item Instance.

func (*ApiService) DeleteEndUser

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

Delete a specific End User.

func (*ApiService) DeleteSupportingDocument

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

Delete a specific Supporting Document.

func (*ApiService) DeleteTrustProduct

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

Delete a specific Customer-Profile.

func (*ApiService) DeleteTrustProductChannelEndpointAssignment

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

Remove an Assignment Item Instance.

func (*ApiService) DeleteTrustProductEntityAssignment

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

Remove an Assignment Item Instance.

func (*ApiService) FetchCustomerProfile

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

Fetch a specific Customer-Profile instance.

func (*ApiService) FetchCustomerProfileChannelEndpointAssignment

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

Fetch specific Assigned Item Instance.

func (*ApiService) FetchCustomerProfileEntityAssignment

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

Fetch specific Assigned Item Instance.

func (*ApiService) FetchCustomerProfileEvaluation

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

Fetch specific Evaluation Instance.

func (*ApiService) FetchEndUser

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

Fetch specific End User Instance.

func (*ApiService) FetchEndUserType

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

Fetch a specific End-User Type Instance.

func (*ApiService) FetchPolicies

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

Fetch specific Policy Instance.

func (*ApiService) FetchSupportingDocument

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

Fetch specific Supporting Document Instance.

func (*ApiService) FetchSupportingDocumentType

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

Fetch a specific Supporting Document Type Instance.

func (*ApiService) FetchTrustProduct

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

Fetch a specific Customer-Profile instance.

func (*ApiService) FetchTrustProductChannelEndpointAssignment

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

Fetch specific Assigned Item Instance.

func (*ApiService) FetchTrustProductEntityAssignment

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

Fetch specific Assigned Item Instance.

func (*ApiService) FetchTrustProductEvaluation

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

Fetch specific Evaluation Instance.

func (*ApiService) ListCustomerProfile

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

func (c *ApiService) ListCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, params *ListCustomerProfileChannelEndpointAssignmentParams) ([]TrusthubV1CustomerProfileChannelEndpointAssignment, 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

func (c *ApiService) ListCustomerProfileEntityAssignment(CustomerProfileSid string, params *ListCustomerProfileEntityAssignmentParams) ([]TrusthubV1CustomerProfileEntityAssignment, 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

func (c *ApiService) ListCustomerProfileEvaluation(CustomerProfileSid string, params *ListCustomerProfileEvaluationParams) ([]TrusthubV1CustomerProfileEvaluation, 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

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

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

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

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

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

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

func (c *ApiService) ListTrustProductChannelEndpointAssignment(TrustProductSid string, params *ListTrustProductChannelEndpointAssignmentParams) ([]TrusthubV1TrustProductChannelEndpointAssignment, 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

func (c *ApiService) ListTrustProductEntityAssignment(TrustProductSid string, params *ListTrustProductEntityAssignmentParams) ([]TrusthubV1TrustProductEntityAssignment, 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

func (c *ApiService) ListTrustProductEvaluation(TrustProductSid string, params *ListTrustProductEvaluationParams) ([]TrusthubV1TrustProductEvaluation, 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

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

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

func (*ApiService) PageCustomerProfileChannelEndpointAssignment

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

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

func (*ApiService) PageCustomerProfileEntityAssignment

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

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

func (*ApiService) PageCustomerProfileEvaluation

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

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

func (*ApiService) PageEndUser

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

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

func (*ApiService) PageEndUserType

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

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

func (*ApiService) PagePolicies

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

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

func (*ApiService) PageSupportingDocument

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

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

func (*ApiService) PageSupportingDocumentType

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

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

func (*ApiService) PageTrustProduct

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

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

func (*ApiService) PageTrustProductChannelEndpointAssignment

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

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

func (*ApiService) PageTrustProductEntityAssignment

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

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

func (*ApiService) PageTrustProductEvaluation

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

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

func (*ApiService) StreamCustomerProfile

func (c *ApiService) StreamCustomerProfile(params *ListCustomerProfileParams) (chan TrusthubV1CustomerProfile, chan 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

func (c *ApiService) StreamCustomerProfileChannelEndpointAssignment(CustomerProfileSid string, params *ListCustomerProfileChannelEndpointAssignmentParams) (chan TrusthubV1CustomerProfileChannelEndpointAssignment, chan 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

func (c *ApiService) StreamCustomerProfileEntityAssignment(CustomerProfileSid string, params *ListCustomerProfileEntityAssignmentParams) (chan TrusthubV1CustomerProfileEntityAssignment, chan 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

func (c *ApiService) StreamCustomerProfileEvaluation(CustomerProfileSid string, params *ListCustomerProfileEvaluationParams) (chan TrusthubV1CustomerProfileEvaluation, chan 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

func (c *ApiService) StreamEndUser(params *ListEndUserParams) (chan TrusthubV1EndUser, chan 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

func (c *ApiService) StreamEndUserType(params *ListEndUserTypeParams) (chan TrusthubV1EndUserType, chan 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

func (c *ApiService) StreamPolicies(params *ListPoliciesParams) (chan TrusthubV1Policies, chan 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

func (c *ApiService) StreamSupportingDocument(params *ListSupportingDocumentParams) (chan TrusthubV1SupportingDocument, chan 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

func (c *ApiService) StreamSupportingDocumentType(params *ListSupportingDocumentTypeParams) (chan TrusthubV1SupportingDocumentType, chan 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

func (c *ApiService) StreamTrustProduct(params *ListTrustProductParams) (chan TrusthubV1TrustProduct, chan 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

func (c *ApiService) StreamTrustProductChannelEndpointAssignment(TrustProductSid string, params *ListTrustProductChannelEndpointAssignmentParams) (chan TrusthubV1TrustProductChannelEndpointAssignment, chan 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

func (c *ApiService) StreamTrustProductEntityAssignment(TrustProductSid string, params *ListTrustProductEntityAssignmentParams) (chan TrusthubV1TrustProductEntityAssignment, chan 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

func (c *ApiService) StreamTrustProductEvaluation(TrustProductSid string, params *ListTrustProductEvaluationParams) (chan TrusthubV1TrustProductEvaluation, chan 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) UpdateComplianceInquiry

func (c *ApiService) UpdateComplianceInquiry(CustomerId string, params *UpdateComplianceInquiryParams) (*TrusthubV1ComplianceInquiry, error)

Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing.

func (*ApiService) UpdateCustomerProfile

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

Updates a Customer-Profile in an account.

func (*ApiService) UpdateEndUser

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

Update an existing End User.

func (*ApiService) UpdateSupportingDocument

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

Update an existing Supporting Document.

func (*ApiService) UpdateTrustProduct

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

Updates a Customer-Profile in an account.

type CreateComplianceInquiryParams

type CreateComplianceInquiryParams struct {
	// The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
	PrimaryProfileSid *string `json:"PrimaryProfileSid,omitempty"`
}

Optional parameters for the method 'CreateComplianceInquiry'

func (*CreateComplianceInquiryParams) SetPrimaryProfileSid

func (params *CreateComplianceInquiryParams) SetPrimaryProfileSid(PrimaryProfileSid string) *CreateComplianceInquiryParams

type CreateComplianceTollfreeInquiryParams

type CreateComplianceTollfreeInquiryParams struct {
	// The Tollfree phone number to be verified
	TollfreePhoneNumber *string `json:"TollfreePhoneNumber,omitempty"`
	// The email address to receive the notification about the verification result.
	NotificationEmail *string `json:"NotificationEmail,omitempty"`
	// The name of the business or organization using the Tollfree number.
	BusinessName *string `json:"BusinessName,omitempty"`
	// The website of the business or organization using the Tollfree number.
	BusinessWebsite *string `json:"BusinessWebsite,omitempty"`
	// The category of the use case for the Tollfree Number. List as many are applicable..
	UseCaseCategories *[]string `json:"UseCaseCategories,omitempty"`
	// Use this to further explain how messaging is used by the business or organization.
	UseCaseSummary *string `json:"UseCaseSummary,omitempty"`
	// An example of message content, i.e. a sample message.
	ProductionMessageSample *string `json:"ProductionMessageSample,omitempty"`
	// Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
	OptInImageUrls *[]string `json:"OptInImageUrls,omitempty"`
	//
	OptInType *string `json:"OptInType,omitempty"`
	// Estimate monthly volume of messages from the Tollfree Number.
	MessageVolume *string `json:"MessageVolume,omitempty"`
	// The address of the business or organization using the Tollfree number.
	BusinessStreetAddress *string `json:"BusinessStreetAddress,omitempty"`
	// The address of the business or organization using the Tollfree number.
	BusinessStreetAddress2 *string `json:"BusinessStreetAddress2,omitempty"`
	// The city of the business or organization using the Tollfree number.
	BusinessCity *string `json:"BusinessCity,omitempty"`
	// The state/province/region of the business or organization using the Tollfree number.
	BusinessStateProvinceRegion *string `json:"BusinessStateProvinceRegion,omitempty"`
	// The postal code of the business or organization using the Tollfree number.
	BusinessPostalCode *string `json:"BusinessPostalCode,omitempty"`
	// The country of the business or organization using the Tollfree number.
	BusinessCountry *string `json:"BusinessCountry,omitempty"`
	// Additional information to be provided for verification.
	AdditionalInformation *string `json:"AdditionalInformation,omitempty"`
	// The first name of the contact for the business or organization using the Tollfree number.
	BusinessContactFirstName *string `json:"BusinessContactFirstName,omitempty"`
	// The last name of the contact for the business or organization using the Tollfree number.
	BusinessContactLastName *string `json:"BusinessContactLastName,omitempty"`
	// The email address of the contact for the business or organization using the Tollfree number.
	BusinessContactEmail *string `json:"BusinessContactEmail,omitempty"`
	// The phone number of the contact for the business or organization using the Tollfree number.
	BusinessContactPhone *string `json:"BusinessContactPhone,omitempty"`
}

Optional parameters for the method 'CreateComplianceTollfreeInquiry'

func (*CreateComplianceTollfreeInquiryParams) SetAdditionalInformation

func (params *CreateComplianceTollfreeInquiryParams) SetAdditionalInformation(AdditionalInformation string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessCity

func (*CreateComplianceTollfreeInquiryParams) SetBusinessContactEmail

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessContactEmail(BusinessContactEmail string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessContactFirstName

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessContactFirstName(BusinessContactFirstName string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessContactLastName

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessContactLastName(BusinessContactLastName string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessContactPhone

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessContactPhone(BusinessContactPhone string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessCountry

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessCountry(BusinessCountry string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessName

func (*CreateComplianceTollfreeInquiryParams) SetBusinessPostalCode

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessPostalCode(BusinessPostalCode string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessStateProvinceRegion

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessStateProvinceRegion(BusinessStateProvinceRegion string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessStreetAddress

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessStreetAddress(BusinessStreetAddress string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessStreetAddress2

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessStreetAddress2(BusinessStreetAddress2 string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetBusinessWebsite

func (params *CreateComplianceTollfreeInquiryParams) SetBusinessWebsite(BusinessWebsite string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetMessageVolume

func (*CreateComplianceTollfreeInquiryParams) SetNotificationEmail

func (params *CreateComplianceTollfreeInquiryParams) SetNotificationEmail(NotificationEmail string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetOptInImageUrls

func (params *CreateComplianceTollfreeInquiryParams) SetOptInImageUrls(OptInImageUrls []string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetOptInType

func (*CreateComplianceTollfreeInquiryParams) SetProductionMessageSample

func (params *CreateComplianceTollfreeInquiryParams) SetProductionMessageSample(ProductionMessageSample string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetTollfreePhoneNumber

func (params *CreateComplianceTollfreeInquiryParams) SetTollfreePhoneNumber(TollfreePhoneNumber string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetUseCaseCategories

func (params *CreateComplianceTollfreeInquiryParams) SetUseCaseCategories(UseCaseCategories []string) *CreateComplianceTollfreeInquiryParams

func (*CreateComplianceTollfreeInquiryParams) SetUseCaseSummary

func (params *CreateComplianceTollfreeInquiryParams) SetUseCaseSummary(UseCaseSummary string) *CreateComplianceTollfreeInquiryParams

type CreateCustomerProfileChannelEndpointAssignmentParams

type CreateCustomerProfileChannelEndpointAssignmentParams struct {
	// The type of channel endpoint. eg: phone-number
	ChannelEndpointType *string `json:"ChannelEndpointType,omitempty"`
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"ChannelEndpointSid,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 string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,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 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"`
	// The set of parameters that are the attributes of the End User resource which are derived End User Types.
	Attributes *interface{} `json:"Attributes,omitempty"`
}

Optional parameters for the method 'CreateEndUser'

func (*CreateEndUserParams) SetAttributes

func (params *CreateEndUserParams) SetAttributes(Attributes 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 string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The type of the Supporting Document.
	Type *string `json:"Type,omitempty"`
	// The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types.
	Attributes *interface{} `json:"Attributes,omitempty"`
}

Optional parameters for the method 'CreateSupportingDocument'

func (*CreateSupportingDocumentParams) SetAttributes

func (params *CreateSupportingDocumentParams) SetAttributes(Attributes interface{}) *CreateSupportingDocumentParams

func (*CreateSupportingDocumentParams) SetFriendlyName

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

func (*CreateSupportingDocumentParams) SetType

type CreateTrustProductChannelEndpointAssignmentParams

type CreateTrustProductChannelEndpointAssignmentParams struct {
	// The type of channel endpoint. eg: phone-number
	ChannelEndpointType *string `json:"ChannelEndpointType,omitempty"`
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"ChannelEndpointSid,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 string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,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

func (*ListCustomerProfileChannelEndpointAssignmentParams) SetPageSize

type ListCustomerProfileChannelEndpointAssignmentResponse

type ListCustomerProfileChannelEndpointAssignmentResponse struct {
	Results []TrusthubV1CustomerProfileChannelEndpointAssignment `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta                      `json:"meta,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

func (*ListCustomerProfileEntityAssignmentParams) SetPageSize

type ListCustomerProfileEntityAssignmentResponse

type ListCustomerProfileEntityAssignmentResponse struct {
	Results []TrusthubV1CustomerProfileEntityAssignment `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta             `json:"meta,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

func (*ListCustomerProfileEvaluationParams) SetPageSize

type ListCustomerProfileEvaluationResponse

type ListCustomerProfileEvaluationResponse struct {
	Results []TrusthubV1CustomerProfileEvaluation `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta       `json:"meta,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

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 {
	Results []TrusthubV1CustomerProfile     `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
}

ListCustomerProfileResponse struct for ListCustomerProfileResponse

type ListCustomerProfileResponseMeta

type ListCustomerProfileResponseMeta struct {
	FirstPageUrl    string  `json:"first_page_url,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"`
	Key             string  `json:"key,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

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

func (*ListEndUserParams) SetPageSize

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

type ListEndUserResponse

type ListEndUserResponse struct {
	Results []TrusthubV1EndUser             `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta `json:"meta,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

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

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

func (*ListPoliciesParams) SetPageSize

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

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Results []TrusthubV1Policies            `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta `json:"meta,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

func (*ListSupportingDocumentParams) SetPageSize

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

type ListSupportingDocumentResponse

type ListSupportingDocumentResponse struct {
	Results []TrusthubV1SupportingDocument  `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta `json:"meta,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

func (*ListSupportingDocumentTypeParams) SetPageSize

type ListSupportingDocumentTypeResponse

type ListSupportingDocumentTypeResponse struct {
	SupportingDocumentTypes []TrusthubV1SupportingDocumentType `json:"supporting_document_types,omitempty"`
	Meta                    ListCustomerProfileResponseMeta    `json:"meta,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

func (*ListTrustProductChannelEndpointAssignmentParams) SetPageSize

type ListTrustProductChannelEndpointAssignmentResponse

type ListTrustProductChannelEndpointAssignmentResponse struct {
	Results []TrusthubV1TrustProductChannelEndpointAssignment `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta                   `json:"meta,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

func (*ListTrustProductEntityAssignmentParams) SetPageSize

type ListTrustProductEntityAssignmentResponse

type ListTrustProductEntityAssignmentResponse struct {
	Results []TrusthubV1TrustProductEntityAssignment `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta          `json:"meta,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

func (*ListTrustProductEvaluationParams) SetPageSize

type ListTrustProductEvaluationResponse

type ListTrustProductEvaluationResponse struct {
	Results []TrusthubV1TrustProductEvaluation `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta    `json:"meta,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

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 {
	Results []TrusthubV1TrustProduct        `json:"results,omitempty"`
	Meta    ListCustomerProfileResponseMeta `json:"meta,omitempty"`
}

ListTrustProductResponse struct for ListTrustProductResponse

type TrusthubV1ComplianceInquiry

type TrusthubV1ComplianceInquiry struct {
	// The unique ID used to start an embedded compliance registration session.
	InquiryId *string `json:"inquiry_id,omitempty"`
	// The session token used to start an embedded compliance registration session.
	InquirySessionToken *string `json:"inquiry_session_token,omitempty"`
	// The CustomerID matching the Customer Profile that should be resumed or resubmitted for editing.
	CustomerId *string `json:"customer_id,omitempty"`
	// The URL of this resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1ComplianceInquiry struct for TrusthubV1ComplianceInquiry

type TrusthubV1ComplianceTollfreeInquiry

type TrusthubV1ComplianceTollfreeInquiry struct {
	// The unique ID used to start an embedded compliance registration session.
	InquiryId *string `json:"inquiry_id,omitempty"`
	// The session token used to start an embedded compliance registration session.
	InquirySessionToken *string `json:"inquiry_session_token,omitempty"`
	// The TolfreeId matching the Tollfree Profile that should be resumed or resubmitted for editing.
	RegistrationId *string `json:"registration_id,omitempty"`
	// The URL of this resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1ComplianceTollfreeInquiry struct for TrusthubV1ComplianceTollfreeInquiry

type TrusthubV1CustomerProfile

type TrusthubV1CustomerProfile struct {
	// The unique string that we created to identify the Customer-Profile resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Customer-Profile resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string of a policy that is associated to the Customer-Profile resource.
	PolicySid *string `json:"policy_sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	Status       *string `json:"status,omitempty"`
	// The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format when the resource will be valid until.
	ValidUntil *time.Time `json:"valid_until,omitempty"`
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"email,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The absolute URL of the Customer-Profile resource.
	Url *string `json:"url,omitempty"`
	// The URLs of the Assigned Items of the Customer-Profile resource.
	Links *map[string]interface{} `json:"links,omitempty"`
}

TrusthubV1CustomerProfile struct for TrusthubV1CustomerProfile

type TrusthubV1CustomerProfileChannelEndpointAssignment

type TrusthubV1CustomerProfileChannelEndpointAssignment struct {
	// The unique string that we created to identify the Item Assignment resource.
	Sid *string `json:"sid,omitempty"`
	// The unique string that we created to identify the CustomerProfile resource.
	CustomerProfileSid *string `json:"customer_profile_sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Item Assignment resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The type of channel endpoint. eg: phone-number
	ChannelEndpointType *string `json:"channel_endpoint_type,omitempty"`
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"channel_endpoint_sid,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The absolute URL of the Identity resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1CustomerProfileChannelEndpointAssignment struct for TrusthubV1CustomerProfileChannelEndpointAssignment

type TrusthubV1CustomerProfileEntityAssignment

type TrusthubV1CustomerProfileEntityAssignment struct {
	// The unique string that we created to identify the Item Assignment resource.
	Sid *string `json:"sid,omitempty"`
	// The unique string that we created to identify the CustomerProfile resource.
	CustomerProfileSid *string `json:"customer_profile_sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Item Assignment resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of an object bag that holds information of the different items.
	ObjectSid *string `json:"object_sid,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The absolute URL of the Identity resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1CustomerProfileEntityAssignment struct for TrusthubV1CustomerProfileEntityAssignment

type TrusthubV1CustomerProfileEvaluation

type TrusthubV1CustomerProfileEvaluation struct {
	// The unique string that identifies the Evaluation resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the customer_profile resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string of a policy that is associated to the customer_profile resource.
	PolicySid *string `json:"policy_sid,omitempty"`
	// The unique string that we created to identify the customer_profile resource.
	CustomerProfileSid *string `json:"customer_profile_sid,omitempty"`
	Status             *string `json:"status,omitempty"`
	// The results of the Evaluation which includes the valid and invalid attributes.
	Results     *[]interface{} `json:"results,omitempty"`
	DateCreated *time.Time     `json:"date_created,omitempty"`
	Url         *string        `json:"url,omitempty"`
}

TrusthubV1CustomerProfileEvaluation struct for TrusthubV1CustomerProfileEvaluation

type TrusthubV1EndUser

type TrusthubV1EndUser struct {
	// The unique string created by Twilio to identify the End User resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the End User resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The type of end user of the Bundle resource - can be `individual` or `business`.
	Type *string `json:"type,omitempty"`
	// The set of parameters that are the attributes of the End Users resource which are listed in the End User Types.
	Attributes *interface{} `json:"attributes,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The absolute URL of the End User resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1EndUser struct for TrusthubV1EndUser

type TrusthubV1EndUserType

type TrusthubV1EndUserType struct {
	// The unique string that identifies the End-User Type resource.
	Sid *string `json:"sid,omitempty"`
	// A human-readable description that is assigned to describe the End-User Type resource. Examples can include first name, last name, email, business name, etc
	FriendlyName *string `json:"friendly_name,omitempty"`
	// A machine-readable description of the End-User Type resource. Examples can include first_name, last_name, email, business_name, etc.
	MachineName *string `json:"machine_name,omitempty"`
	// The required information for creating an End-User. The required fields will change as regulatory needs change and will differ for businesses and individuals.
	Fields *[]interface{} `json:"fields,omitempty"`
	// The absolute URL of the End-User Type resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1EndUserType struct for TrusthubV1EndUserType

type TrusthubV1Policies

type TrusthubV1Policies struct {
	// The unique string that identifies the Policy resource.
	Sid *string `json:"sid,omitempty"`
	// A human-readable description that is assigned to describe the Policy resource. Examples can include Primary Customer profile policy
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The SID of an object that holds the policy information
	Requirements *interface{} `json:"requirements,omitempty"`
	// The absolute URL of the Policy resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1Policies struct for TrusthubV1Policies

type TrusthubV1SupportingDocument

type TrusthubV1SupportingDocument struct {
	// The unique string created by Twilio to identify the Supporting Document resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Document resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The image type uploaded in the Supporting Document container.
	MimeType *string `json:"mime_type,omitempty"`
	Status   *string `json:"status,omitempty"`
	// The type of the Supporting Document.
	Type *string `json:"type,omitempty"`
	// The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
	Attributes *interface{} `json:"attributes,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The absolute URL of the Supporting Document resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1SupportingDocument struct for TrusthubV1SupportingDocument

type TrusthubV1SupportingDocumentType

type TrusthubV1SupportingDocumentType struct {
	// The unique string that identifies the Supporting Document Type resource.
	Sid *string `json:"sid,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 required information for creating a Supporting Document. The required fields will change as regulatory needs change and will differ for businesses and individuals.
	Fields *[]interface{} `json:"fields,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 unique string that we created to identify the Customer-Profile resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Customer-Profile resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string of a policy that is associated to the Customer-Profile resource.
	PolicySid *string `json:"policy_sid,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"friendly_name,omitempty"`
	Status       *string `json:"status,omitempty"`
	// The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format when the resource will be valid until.
	ValidUntil *time.Time `json:"valid_until,omitempty"`
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"email,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"status_callback,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateUpdated *time.Time `json:"date_updated,omitempty"`
	// The absolute URL of the Customer-Profile resource.
	Url *string `json:"url,omitempty"`
	// The URLs of the Assigned Items of the Customer-Profile resource.
	Links *map[string]interface{} `json:"links,omitempty"`
}

TrusthubV1TrustProduct struct for TrusthubV1TrustProduct

type TrusthubV1TrustProductChannelEndpointAssignment

type TrusthubV1TrustProductChannelEndpointAssignment struct {
	// The unique string that we created to identify the Item Assignment resource.
	Sid *string `json:"sid,omitempty"`
	// The unique string that we created to identify the CustomerProfile resource.
	TrustProductSid *string `json:"trust_product_sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Item Assignment resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The type of channel endpoint. eg: phone-number
	ChannelEndpointType *string `json:"channel_endpoint_type,omitempty"`
	// The SID of an channel endpoint
	ChannelEndpointSid *string `json:"channel_endpoint_sid,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The absolute URL of the Identity resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1TrustProductChannelEndpointAssignment struct for TrusthubV1TrustProductChannelEndpointAssignment

type TrusthubV1TrustProductEntityAssignment

type TrusthubV1TrustProductEntityAssignment struct {
	// The unique string that we created to identify the Item Assignment resource.
	Sid *string `json:"sid,omitempty"`
	// The unique string that we created to identify the TrustProduct resource.
	TrustProductSid *string `json:"trust_product_sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Item Assignment resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The SID of an object bag that holds information of the different items.
	ObjectSid *string `json:"object_sid,omitempty"`
	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The absolute URL of the Identity resource.
	Url *string `json:"url,omitempty"`
}

TrusthubV1TrustProductEntityAssignment struct for TrusthubV1TrustProductEntityAssignment

type TrusthubV1TrustProductEvaluation

type TrusthubV1TrustProductEvaluation struct {
	// The unique string that identifies the Evaluation resource.
	Sid *string `json:"sid,omitempty"`
	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the trust_product resource.
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string of a policy that is associated to the trust_product resource.
	PolicySid *string `json:"policy_sid,omitempty"`
	// The unique string that we created to identify the trust_product resource.
	TrustProductSid *string `json:"trust_product_sid,omitempty"`
	Status          *string `json:"status,omitempty"`
	// The results of the Evaluation which includes the valid and invalid attributes.
	Results     *[]interface{} `json:"results,omitempty"`
	DateCreated *time.Time     `json:"date_created,omitempty"`
	Url         *string        `json:"url,omitempty"`
}

TrusthubV1TrustProductEvaluation struct for TrusthubV1TrustProductEvaluation

type UpdateComplianceInquiryParams

type UpdateComplianceInquiryParams struct {
	// The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
	PrimaryProfileSid *string `json:"PrimaryProfileSid,omitempty"`
}

Optional parameters for the method 'UpdateComplianceInquiry'

func (*UpdateComplianceInquiryParams) SetPrimaryProfileSid

func (params *UpdateComplianceInquiryParams) SetPrimaryProfileSid(PrimaryProfileSid string) *UpdateComplianceInquiryParams

type UpdateCustomerProfileParams

type UpdateCustomerProfileParams struct {
	//
	Status *string `json:"Status,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"StatusCallback,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The email address that will receive updates when the Customer-Profile resource changes status.
	Email *string `json:"Email,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 string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The set of parameters that are the attributes of the End User resource which are derived End User Types.
	Attributes *interface{} `json:"Attributes,omitempty"`
}

Optional parameters for the method 'UpdateEndUser'

func (*UpdateEndUserParams) SetAttributes

func (params *UpdateEndUserParams) SetAttributes(Attributes interface{}) *UpdateEndUserParams

func (*UpdateEndUserParams) SetFriendlyName

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

type UpdateSupportingDocumentParams

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

Optional parameters for the method 'UpdateSupportingDocument'

func (*UpdateSupportingDocumentParams) SetAttributes

func (params *UpdateSupportingDocumentParams) SetAttributes(Attributes interface{}) *UpdateSupportingDocumentParams

func (*UpdateSupportingDocumentParams) SetFriendlyName

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

type UpdateTrustProductParams

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