openapi

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 6 Imported by: 2

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.27.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://numbers.twilio.com

Class Method HTTP request Description
RegulatoryComplianceBundlesApi CreateBundle Post /v2/RegulatoryCompliance/Bundles
RegulatoryComplianceBundlesApi DeleteBundle Delete /v2/RegulatoryCompliance/Bundles/{Sid}
RegulatoryComplianceBundlesApi FetchBundle Get /v2/RegulatoryCompliance/Bundles/{Sid}
RegulatoryComplianceBundlesApi ListBundle Get /v2/RegulatoryCompliance/Bundles
RegulatoryComplianceBundlesApi UpdateBundle Post /v2/RegulatoryCompliance/Bundles/{Sid}
RegulatoryComplianceBundlesCopiesApi CreateBundleCopy Post /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
RegulatoryComplianceBundlesCopiesApi ListBundleCopy Get /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
RegulatoryComplianceBundlesEvaluationsApi CreateEvaluation Post /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations
RegulatoryComplianceBundlesEvaluationsApi FetchEvaluation Get /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations/{Sid}
RegulatoryComplianceBundlesEvaluationsApi ListEvaluation Get /v2/RegulatoryCompliance/Bundles/{BundleSid}/Evaluations
RegulatoryComplianceBundlesItemAssignmentsApi CreateItemAssignment Post /v2/RegulatoryCompliance/Bundles/{BundleSid}/ItemAssignments
RegulatoryComplianceBundlesItemAssignmentsApi DeleteItemAssignment Delete /v2/RegulatoryCompliance/Bundles/{BundleSid}/ItemAssignments/{Sid}
RegulatoryComplianceBundlesItemAssignmentsApi FetchItemAssignment Get /v2/RegulatoryCompliance/Bundles/{BundleSid}/ItemAssignments/{Sid}
RegulatoryComplianceBundlesItemAssignmentsApi ListItemAssignment Get /v2/RegulatoryCompliance/Bundles/{BundleSid}/ItemAssignments
RegulatoryComplianceBundlesReplaceItemsApi CreateReplaceItems Post /v2/RegulatoryCompliance/Bundles/{BundleSid}/ReplaceItems
RegulatoryComplianceEndUserTypesApi FetchEndUserType Get /v2/RegulatoryCompliance/EndUserTypes/{Sid}
RegulatoryComplianceEndUserTypesApi ListEndUserType Get /v2/RegulatoryCompliance/EndUserTypes
RegulatoryComplianceEndUsersApi CreateEndUser Post /v2/RegulatoryCompliance/EndUsers
RegulatoryComplianceEndUsersApi DeleteEndUser Delete /v2/RegulatoryCompliance/EndUsers/{Sid}
RegulatoryComplianceEndUsersApi FetchEndUser Get /v2/RegulatoryCompliance/EndUsers/{Sid}
RegulatoryComplianceEndUsersApi ListEndUser Get /v2/RegulatoryCompliance/EndUsers
RegulatoryComplianceEndUsersApi UpdateEndUser Post /v2/RegulatoryCompliance/EndUsers/{Sid}
RegulatoryComplianceRegulationsApi FetchRegulation Get /v2/RegulatoryCompliance/Regulations/{Sid}
RegulatoryComplianceRegulationsApi ListRegulation Get /v2/RegulatoryCompliance/Regulations
RegulatoryComplianceSupportingDocumentTypesApi FetchSupportingDocumentType Get /v2/RegulatoryCompliance/SupportingDocumentTypes/{Sid}
RegulatoryComplianceSupportingDocumentTypesApi ListSupportingDocumentType Get /v2/RegulatoryCompliance/SupportingDocumentTypes
RegulatoryComplianceSupportingDocumentsApi CreateSupportingDocument Post /v2/RegulatoryCompliance/SupportingDocuments
RegulatoryComplianceSupportingDocumentsApi DeleteSupportingDocument Delete /v2/RegulatoryCompliance/SupportingDocuments/{Sid}
RegulatoryComplianceSupportingDocumentsApi FetchSupportingDocument Get /v2/RegulatoryCompliance/SupportingDocuments/{Sid}
RegulatoryComplianceSupportingDocumentsApi ListSupportingDocument Get /v2/RegulatoryCompliance/SupportingDocuments
RegulatoryComplianceSupportingDocumentsApi UpdateSupportingDocument Post /v2/RegulatoryCompliance/SupportingDocuments/{Sid}

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) CreateBundle added in v0.11.0

func (c *ApiService) CreateBundle(params *CreateBundleParams) (*NumbersV2Bundle, error)

Create a new Bundle.

func (*ApiService) CreateBundleCopy added in v0.16.0

func (c *ApiService) CreateBundleCopy(BundleSid string, params *CreateBundleCopyParams) (*NumbersV2BundleCopy, error)

Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle

func (*ApiService) CreateEndUser added in v0.11.0

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

Create a new End User.

func (*ApiService) CreateEvaluation added in v0.11.0

func (c *ApiService) CreateEvaluation(BundleSid string) (*NumbersV2Evaluation, error)

Creates an evaluation for a bundle

func (*ApiService) CreateItemAssignment added in v0.11.0

func (c *ApiService) CreateItemAssignment(BundleSid string, params *CreateItemAssignmentParams) (*NumbersV2ItemAssignment, error)

Create a new Assigned Item.

func (*ApiService) CreateReplaceItems added in v0.16.0

func (c *ApiService) CreateReplaceItems(BundleSid string, params *CreateReplaceItemsParams) (*NumbersV2ReplaceItems, error)

Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the source bundle (specified by the from_bundle_sid body param)

func (*ApiService) CreateSupportingDocument added in v0.11.0

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

Create a new Supporting Document.

func (*ApiService) DeleteBundle added in v0.11.0

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

Delete a specific Bundle.

func (*ApiService) DeleteEndUser added in v0.11.0

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

Delete a specific End User.

func (*ApiService) DeleteItemAssignment added in v0.11.0

func (c *ApiService) DeleteItemAssignment(BundleSid string, Sid string) error

Remove an Assignment Item Instance.

func (*ApiService) DeleteSupportingDocument added in v0.11.0

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

Delete a specific Supporting Document.

func (*ApiService) FetchBundle added in v0.11.0

func (c *ApiService) FetchBundle(Sid string) (*NumbersV2Bundle, error)

Fetch a specific Bundle instance.

func (*ApiService) FetchEndUser added in v0.11.0

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

Fetch specific End User Instance.

func (*ApiService) FetchEndUserType added in v0.11.0

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

Fetch a specific End-User Type Instance.

func (*ApiService) FetchEvaluation added in v0.11.0

func (c *ApiService) FetchEvaluation(BundleSid string, Sid string) (*NumbersV2Evaluation, error)

Fetch specific Evaluation Instance.

func (*ApiService) FetchItemAssignment added in v0.11.0

func (c *ApiService) FetchItemAssignment(BundleSid string, Sid string) (*NumbersV2ItemAssignment, error)

Fetch specific Assigned Item Instance.

func (*ApiService) FetchRegulation added in v0.11.0

func (c *ApiService) FetchRegulation(Sid string) (*NumbersV2Regulation, error)

Fetch specific Regulation Instance.

func (*ApiService) FetchSupportingDocument added in v0.11.0

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

Fetch specific Supporting Document Instance.

func (*ApiService) FetchSupportingDocumentType added in v0.11.0

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

Fetch a specific Supporting Document Type Instance.

func (*ApiService) ListBundle added in v0.11.0

func (c *ApiService) ListBundle(params *ListBundleParams) ([]NumbersV2Bundle, error)

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

func (*ApiService) ListBundleCopy added in v0.20.0

func (c *ApiService) ListBundleCopy(BundleSid string, params *ListBundleCopyParams) ([]NumbersV2BundleCopy, error)

Lists BundleCopy 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) ([]NumbersV2EndUser, 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) ([]NumbersV2EndUserType, 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) ListEvaluation added in v0.11.0

func (c *ApiService) ListEvaluation(BundleSid string, params *ListEvaluationParams) ([]NumbersV2Evaluation, error)

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

func (*ApiService) ListItemAssignment added in v0.11.0

func (c *ApiService) ListItemAssignment(BundleSid string, params *ListItemAssignmentParams) ([]NumbersV2ItemAssignment, error)

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

func (*ApiService) ListRegulation added in v0.11.0

func (c *ApiService) ListRegulation(params *ListRegulationParams) ([]NumbersV2Regulation, error)

Lists Regulation 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) ([]NumbersV2SupportingDocument, 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) ([]NumbersV2SupportingDocumentType, 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) PageBundle added in v0.13.0

func (c *ApiService) PageBundle(params *ListBundleParams, pageToken, pageNumber string) (*ListBundleResponse, error)

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

func (*ApiService) PageBundleCopy added in v0.20.0

func (c *ApiService) PageBundleCopy(BundleSid string, params *ListBundleCopyParams, pageToken, pageNumber string) (*ListBundleCopyResponse, error)

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

func (*ApiService) PageEndUser added in v0.13.0

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 added in v0.13.0

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) PageEvaluation added in v0.13.0

func (c *ApiService) PageEvaluation(BundleSid string, params *ListEvaluationParams, pageToken, pageNumber string) (*ListEvaluationResponse, error)

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

func (*ApiService) PageItemAssignment added in v0.13.0

func (c *ApiService) PageItemAssignment(BundleSid string, params *ListItemAssignmentParams, pageToken, pageNumber string) (*ListItemAssignmentResponse, error)

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

func (*ApiService) PageRegulation added in v0.13.0

func (c *ApiService) PageRegulation(params *ListRegulationParams, pageToken, pageNumber string) (*ListRegulationResponse, error)

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

func (*ApiService) PageSupportingDocument added in v0.13.0

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 added in v0.13.0

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) StreamBundle added in v0.13.0

func (c *ApiService) StreamBundle(params *ListBundleParams) (chan NumbersV2Bundle, error)

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

func (*ApiService) StreamBundleCopy added in v0.20.0

func (c *ApiService) StreamBundleCopy(BundleSid string, params *ListBundleCopyParams) (chan NumbersV2BundleCopy, error)

Streams BundleCopy 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 NumbersV2EndUser, 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 NumbersV2EndUserType, 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) StreamEvaluation added in v0.13.0

func (c *ApiService) StreamEvaluation(BundleSid string, params *ListEvaluationParams) (chan NumbersV2Evaluation, error)

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

func (*ApiService) StreamItemAssignment added in v0.13.0

func (c *ApiService) StreamItemAssignment(BundleSid string, params *ListItemAssignmentParams) (chan NumbersV2ItemAssignment, error)

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

func (*ApiService) StreamRegulation added in v0.13.0

func (c *ApiService) StreamRegulation(params *ListRegulationParams) (chan NumbersV2Regulation, error)

Streams Regulation 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 NumbersV2SupportingDocument, 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 NumbersV2SupportingDocumentType, 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) UpdateBundle added in v0.11.0

func (c *ApiService) UpdateBundle(Sid string, params *UpdateBundleParams) (*NumbersV2Bundle, error)

Updates a Bundle in an account.

func (*ApiService) UpdateEndUser added in v0.11.0

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

Update an existing End User.

func (*ApiService) UpdateSupportingDocument added in v0.11.0

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

Update an existing Supporting Document.

type CreateBundleCopyParams added in v0.16.0

type CreateBundleCopyParams struct {
	// The string that you assigned to describe the copied bundle.
	FriendlyName *string `json:"FriendlyName,omitempty"`
}

Optional parameters for the method 'CreateBundleCopy'

func (*CreateBundleCopyParams) SetFriendlyName added in v0.16.0

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

type CreateBundleParams

type CreateBundleParams struct {
	// The email address that will receive updates when the Bundle resource changes status.
	Email *string `json:"Email,omitempty"`
	// The [type of End User](https://www.twilio.com/docs/phone-numbers/regulatory/api/end-user-types) of the Bundle resource.
	EndUserType *string `json:"EndUserType,omitempty"`
	// The string that you assigned to describe the resource.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the Bundle's phone number country ownership request.
	IsoCountry *string `json:"IsoCountry,omitempty"`
	// The type of phone number of the Bundle's ownership request. Can be `local`, `mobile`, `national`, or `toll free`.
	NumberType *string `json:"NumberType,omitempty"`
	// The unique string of a regulation that is associated to the Bundle resource.
	RegulationSid *string `json:"RegulationSid,omitempty"`
	// The URL we call to inform your application of status changes.
	StatusCallback *string `json:"StatusCallback,omitempty"`
}

Optional parameters for the method 'CreateBundle'

func (*CreateBundleParams) SetEmail

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

func (*CreateBundleParams) SetEndUserType

func (params *CreateBundleParams) SetEndUserType(EndUserType string) *CreateBundleParams

func (*CreateBundleParams) SetFriendlyName

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

func (*CreateBundleParams) SetIsoCountry

func (params *CreateBundleParams) SetIsoCountry(IsoCountry string) *CreateBundleParams

func (*CreateBundleParams) SetNumberType

func (params *CreateBundleParams) SetNumberType(NumberType string) *CreateBundleParams

func (*CreateBundleParams) SetRegulationSid

func (params *CreateBundleParams) SetRegulationSid(RegulationSid string) *CreateBundleParams

func (*CreateBundleParams) SetStatusCallback

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

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 CreateItemAssignmentParams

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

Optional parameters for the method 'CreateItemAssignment'

func (*CreateItemAssignmentParams) SetObjectSid

func (params *CreateItemAssignmentParams) SetObjectSid(ObjectSid string) *CreateItemAssignmentParams

type CreateReplaceItemsParams added in v0.16.0

type CreateReplaceItemsParams struct {
	// The source bundle sid to copy the item assignments from.
	FromBundleSid *string `json:"FromBundleSid,omitempty"`
}

Optional parameters for the method 'CreateReplaceItems'

func (*CreateReplaceItemsParams) SetFromBundleSid added in v0.16.0

func (params *CreateReplaceItemsParams) SetFromBundleSid(FromBundleSid string) *CreateReplaceItemsParams

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 ListBundleCopyParams added in v0.20.0

type ListBundleCopyParams 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 'ListBundleCopy'

func (*ListBundleCopyParams) SetLimit added in v0.20.0

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

func (*ListBundleCopyParams) SetPageSize added in v0.20.0

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

type ListBundleCopyResponse added in v0.20.0

type ListBundleCopyResponse struct {
	Meta    ListBundleResponseMeta `json:"meta,omitempty"`
	Results []NumbersV2BundleCopy  `json:"results,omitempty"`
}

ListBundleCopyResponse struct for ListBundleCopyResponse

type ListBundleParams

type ListBundleParams struct {
	// The verification status of the Bundle resource. Please refer to [Bundle Statuses](https://www.twilio.com/docs/phone-numbers/regulatory/api/bundles#bundle-statuses) for more details.
	Status *string `json:"Status,omitempty"`
	// The string that you assigned to describe the resource. The column can contain 255 variable characters.
	FriendlyName *string `json:"FriendlyName,omitempty"`
	// The unique string of a [Regulation resource](https://www.twilio.com/docs/phone-numbers/regulatory/api/regulations) that is associated to the Bundle resource.
	RegulationSid *string `json:"RegulationSid,omitempty"`
	// The 2-digit [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the Bundle's phone number country ownership request.
	IsoCountry *string `json:"IsoCountry,omitempty"`
	// The type of phone number of the Bundle's ownership request. Can be `local`, `mobile`, `national`, or `tollfree`.
	NumberType *string `json:"NumberType,omitempty"`
	// Indicates that the Bundle is a valid Bundle until a specified expiration date.
	HasValidUntilDate *bool `json:"HasValidUntilDate,omitempty"`
	// Can be `valid-until` or `date-updated`. Defaults to `date-created`.
	SortBy *string `json:"SortBy,omitempty"`
	// Default is `DESC`. Can be `ASC` or `DESC`.
	SortDirection *string `json:"SortDirection,omitempty"`
	// Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format.
	ValidUntilDate *time.Time `json:"ValidUntilDate,omitempty"`
	// Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format.
	ValidUntilDateBefore *time.Time `json:"ValidUntilDate&lt;,omitempty"`
	// Date to filter Bundles having their `valid_until_date` before or after the specified date. Can be `ValidUntilDate>=` or `ValidUntilDate<=`. Both can be used in conjunction as well. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) is the acceptable date format.
	ValidUntilDateAfter *time.Time `json:"ValidUntilDate&gt;,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 'ListBundle'

func (*ListBundleParams) SetFriendlyName

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

func (*ListBundleParams) SetHasValidUntilDate added in v0.21.0

func (params *ListBundleParams) SetHasValidUntilDate(HasValidUntilDate bool) *ListBundleParams

func (*ListBundleParams) SetIsoCountry

func (params *ListBundleParams) SetIsoCountry(IsoCountry string) *ListBundleParams

func (*ListBundleParams) SetLimit added in v0.13.0

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

func (*ListBundleParams) SetNumberType

func (params *ListBundleParams) SetNumberType(NumberType string) *ListBundleParams

func (*ListBundleParams) SetPageSize

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

func (*ListBundleParams) SetRegulationSid

func (params *ListBundleParams) SetRegulationSid(RegulationSid string) *ListBundleParams

func (*ListBundleParams) SetSortBy added in v0.21.0

func (params *ListBundleParams) SetSortBy(SortBy string) *ListBundleParams

func (*ListBundleParams) SetSortDirection added in v0.21.0

func (params *ListBundleParams) SetSortDirection(SortDirection string) *ListBundleParams

func (*ListBundleParams) SetStatus

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

func (*ListBundleParams) SetValidUntilDate added in v0.21.0

func (params *ListBundleParams) SetValidUntilDate(ValidUntilDate time.Time) *ListBundleParams

func (*ListBundleParams) SetValidUntilDateAfter added in v0.21.0

func (params *ListBundleParams) SetValidUntilDateAfter(ValidUntilDateAfter time.Time) *ListBundleParams

func (*ListBundleParams) SetValidUntilDateBefore added in v0.21.0

func (params *ListBundleParams) SetValidUntilDateBefore(ValidUntilDateBefore time.Time) *ListBundleParams

type ListBundleResponse

type ListBundleResponse struct {
	Meta    ListBundleResponseMeta `json:"meta,omitempty"`
	Results []NumbersV2Bundle      `json:"results,omitempty"`
}

ListBundleResponse struct for ListBundleResponse

type ListBundleResponseMeta

type ListBundleResponseMeta 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"`
}

ListBundleResponseMeta struct for ListBundleResponseMeta

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    ListBundleResponseMeta `json:"meta,omitempty"`
	Results []NumbersV2EndUser     `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 []NumbersV2EndUserType `json:"end_user_types,omitempty"`
	Meta         ListBundleResponseMeta `json:"meta,omitempty"`
}

ListEndUserTypeResponse struct for ListEndUserTypeResponse

type ListEvaluationParams

type ListEvaluationParams 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 'ListEvaluation'

func (*ListEvaluationParams) SetLimit added in v0.13.0

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

func (*ListEvaluationParams) SetPageSize

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

type ListEvaluationResponse

type ListEvaluationResponse struct {
	Meta    ListBundleResponseMeta `json:"meta,omitempty"`
	Results []NumbersV2Evaluation  `json:"results,omitempty"`
}

ListEvaluationResponse struct for ListEvaluationResponse

type ListItemAssignmentParams

type ListItemAssignmentParams 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 'ListItemAssignment'

func (*ListItemAssignmentParams) SetLimit added in v0.13.0

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

func (*ListItemAssignmentParams) SetPageSize

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

type ListItemAssignmentResponse

type ListItemAssignmentResponse struct {
	Meta    ListBundleResponseMeta    `json:"meta,omitempty"`
	Results []NumbersV2ItemAssignment `json:"results,omitempty"`
}

ListItemAssignmentResponse struct for ListItemAssignmentResponse

type ListRegulationParams

type ListRegulationParams struct {
	// The type of End User the regulation requires - can be `individual` or `business`.
	EndUserType *string `json:"EndUserType,omitempty"`
	// The ISO country code of the phone number's country.
	IsoCountry *string `json:"IsoCountry,omitempty"`
	// The type of phone number that the regulatory requiremnt is restricting.
	NumberType *string `json:"NumberType,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 'ListRegulation'

func (*ListRegulationParams) SetEndUserType

func (params *ListRegulationParams) SetEndUserType(EndUserType string) *ListRegulationParams

func (*ListRegulationParams) SetIsoCountry

func (params *ListRegulationParams) SetIsoCountry(IsoCountry string) *ListRegulationParams

func (*ListRegulationParams) SetLimit added in v0.13.0

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

func (*ListRegulationParams) SetNumberType

func (params *ListRegulationParams) SetNumberType(NumberType string) *ListRegulationParams

func (*ListRegulationParams) SetPageSize

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

type ListRegulationResponse

type ListRegulationResponse struct {
	Meta    ListBundleResponseMeta `json:"meta,omitempty"`
	Results []NumbersV2Regulation  `json:"results,omitempty"`
}

ListRegulationResponse struct for ListRegulationResponse

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    ListBundleResponseMeta        `json:"meta,omitempty"`
	Results []NumbersV2SupportingDocument `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                    ListBundleResponseMeta            `json:"meta,omitempty"`
	SupportingDocumentTypes []NumbersV2SupportingDocumentType `json:"supporting_document_types,omitempty"`
}

ListSupportingDocumentTypeResponse struct for ListSupportingDocumentTypeResponse

type NumbersV2Bundle added in v0.14.0

type NumbersV2Bundle 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 Bundle resource
	Links *map[string]interface{} `json:"links,omitempty"`
	// The unique string of a regulation.
	RegulationSid *string `json:"regulation_sid,omitempty"`
	// The unique string that identifies the resource.
	Sid *string `json:"sid,omitempty"`
	// The verification status of the Bundle 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 Bundle 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"`
}

NumbersV2Bundle struct for NumbersV2Bundle

type NumbersV2BundleCopy added in v0.16.0

type NumbersV2BundleCopy 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 unique string of a regulation
	RegulationSid *string `json:"regulation_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The verification status of the Bundle resource
	Status *string `json:"status,omitempty"`
	// The URL we call to inform your application of status changes
	StatusCallback *string `json:"status_callback,omitempty"`
	// The ISO 8601 date and time in GMT when the resource will be valid until
	ValidUntil *time.Time `json:"valid_until,omitempty"`
}

NumbersV2BundleCopy struct for NumbersV2BundleCopy

type NumbersV2EndUser added in v0.14.0

type NumbersV2EndUser 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"`
}

NumbersV2EndUser struct for NumbersV2EndUser

type NumbersV2EndUserType added in v0.14.0

type NumbersV2EndUserType 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"`
}

NumbersV2EndUserType struct for NumbersV2EndUserType

type NumbersV2Evaluation added in v0.14.0

type NumbersV2Evaluation struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string that identifies the resource
	BundleSid   *string    `json:"bundle_sid,omitempty"`
	DateCreated *time.Time `json:"date_created,omitempty"`
	// The unique string of a regulation
	RegulationSid *string `json:"regulation_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"`
}

NumbersV2Evaluation struct for NumbersV2Evaluation

type NumbersV2ItemAssignment added in v0.14.0

type NumbersV2ItemAssignment struct {
	// The SID of the Account that created the resource
	AccountSid *string `json:"account_sid,omitempty"`
	// The unique string that identifies the Bundle resource.
	BundleSid *string `json:"bundle_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"`
}

NumbersV2ItemAssignment struct for NumbersV2ItemAssignment

type NumbersV2Regulation added in v0.14.0

type NumbersV2Regulation struct {
	// The type of End User of the Regulation resource
	EndUserType *string `json:"end_user_type,omitempty"`
	// A human-readable description of the Regulation resource
	FriendlyName *string `json:"friendly_name,omitempty"`
	// The ISO country code of the phone number's country
	IsoCountry *string `json:"iso_country,omitempty"`
	// The type of phone number restricted by the regulatory requirement
	NumberType *string `json:"number_type,omitempty"`
	// The sid of a regulation object that dictates requirements
	Requirements *map[string]interface{} `json:"requirements,omitempty"`
	// The unique string that identifies the Regulation resource
	Sid *string `json:"sid,omitempty"`
	// The absolute URL of the Regulation resource
	Url *string `json:"url,omitempty"`
}

NumbersV2Regulation struct for NumbersV2Regulation

type NumbersV2ReplaceItems added in v0.16.0

type NumbersV2ReplaceItems 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 unique string of a regulation
	RegulationSid *string `json:"regulation_sid,omitempty"`
	// The unique string that identifies the resource
	Sid *string `json:"sid,omitempty"`
	// The verification status of the Bundle resource
	Status *string `json:"status,omitempty"`
	// The URL we call to inform your application of status changes
	StatusCallback *string `json:"status_callback,omitempty"`
	// The ISO 8601 date and time in GMT when the resource will be valid until
	ValidUntil *time.Time `json:"valid_until,omitempty"`
}

NumbersV2ReplaceItems struct for NumbersV2ReplaceItems

type NumbersV2SupportingDocument added in v0.14.0

type NumbersV2SupportingDocument 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"`
}

NumbersV2SupportingDocument struct for NumbersV2SupportingDocument

type NumbersV2SupportingDocumentType added in v0.14.0

type NumbersV2SupportingDocumentType 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"`
}

NumbersV2SupportingDocumentType struct for NumbersV2SupportingDocumentType

type UpdateBundleParams

type UpdateBundleParams struct {
	// The email address that will receive updates when the Bundle 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 Bundle 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 'UpdateBundle'

func (*UpdateBundleParams) SetEmail

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

func (*UpdateBundleParams) SetFriendlyName

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

func (*UpdateBundleParams) SetStatus

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

func (*UpdateBundleParams) SetStatusCallback

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

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

Jump to

Keyboard shortcuts

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