Compartir a través de


ShortCodesClient class

Constructores

ShortCodesClient(string, KeyCredential, ShortCodesClientOptions)
ShortCodesClient(string, ShortCodesClientOptions)
ShortCodesClient(string, TokenCredential, ShortCodesClientOptions)

Métodos

createOrReplaceUSProgramBriefAttachment(string, string, string, FileType, string, AttachmentType, ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams)
deleteUSProgramBrief(string, DeleteUSProgramBriefOptions)
deleteUSProgramBriefAttachment(string, string, ShortCodesDeleteUSProgramBriefAttachmentOptionalParams)
getUSProgramBrief(string, GetUSProgramBriefOptions)
getUSProgramBriefAttachment(string, string, ShortCodesGetUSProgramBriefAttachmentOptionalParams)
listShortCodes(ListShortCodesOptions)
listUSProgramBriefAttachments(string, ShortCodesGetUSProgramBriefAttachmentsOptionalParams)
listUSProgramBriefs(ListUSProgramBriefsOptions)
submitUSProgramBrief(string, SubmitUSProgramBriefOptions)
upsertUSProgramBrief(string, ShortCodesUpsertUSProgramBriefOptionalParams)

Detalles del constructor

ShortCodesClient(string, KeyCredential, ShortCodesClientOptions)

new ShortCodesClient(endpoint: string, credential: KeyCredential, options?: ShortCodesClientOptions)

Parámetros

endpoint

string

credential
KeyCredential

ShortCodesClient(string, ShortCodesClientOptions)

new ShortCodesClient(connectionString: string, options?: ShortCodesClientOptions)

Parámetros

connectionString

string

ShortCodesClient(string, TokenCredential, ShortCodesClientOptions)

new ShortCodesClient(endpoint: string, credential: TokenCredential, options?: ShortCodesClientOptions)

Parámetros

endpoint

string

credential
TokenCredential

Detalles del método

createOrReplaceUSProgramBriefAttachment(string, string, string, FileType, string, AttachmentType, ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams)

function createOrReplaceUSProgramBriefAttachment(programBriefId: string, attachmentId: string, fileName: string, fileType: FileType, fileContent: string, attachmentType: AttachmentType, options?: ShortCodesCreateOrReplaceUSProgramBriefAttachmentOptionalParams): Promise<ProgramBriefAttachment>

Parámetros

programBriefId

string

attachmentId

string

fileName

string

fileType
FileType
fileContent

string

attachmentType
AttachmentType

Devoluciones

deleteUSProgramBrief(string, DeleteUSProgramBriefOptions)

function deleteUSProgramBrief(programBriefId: string, options?: DeleteUSProgramBriefOptions): Promise<void>

Parámetros

programBriefId

string

Devoluciones

Promise<void>

deleteUSProgramBriefAttachment(string, string, ShortCodesDeleteUSProgramBriefAttachmentOptionalParams)

function deleteUSProgramBriefAttachment(programBriefId: string, attachmentId: string, options?: ShortCodesDeleteUSProgramBriefAttachmentOptionalParams): Promise<void>

Parámetros

programBriefId

string

attachmentId

string

Devoluciones

Promise<void>

getUSProgramBrief(string, GetUSProgramBriefOptions)

function getUSProgramBrief(programBriefId: string, options?: GetUSProgramBriefOptions): Promise<USProgramBrief>

Parámetros

programBriefId

string

Devoluciones

Promise<USProgramBrief>

getUSProgramBriefAttachment(string, string, ShortCodesGetUSProgramBriefAttachmentOptionalParams)

function getUSProgramBriefAttachment(programBriefId: string, attachmentId: string, options?: ShortCodesGetUSProgramBriefAttachmentOptionalParams): Promise<ProgramBriefAttachment>

Parámetros

programBriefId

string

attachmentId

string

Devoluciones

listShortCodes(ListShortCodesOptions)

function listShortCodes(options?: ListShortCodesOptions): PagedAsyncIterableIterator<ShortCode, ShortCode[], PageSettings>

Parámetros

Devoluciones

listUSProgramBriefAttachments(string, ShortCodesGetUSProgramBriefAttachmentsOptionalParams)

function listUSProgramBriefAttachments(programBriefId: string, options?: ShortCodesGetUSProgramBriefAttachmentsOptionalParams): PagedAsyncIterableIterator<ProgramBriefAttachment, ProgramBriefAttachment[], PageSettings>

Parámetros

programBriefId

string

Devoluciones

listUSProgramBriefs(ListUSProgramBriefsOptions)

function listUSProgramBriefs(options?: ListUSProgramBriefsOptions): PagedAsyncIterableIterator<USProgramBrief, USProgramBrief[], PageSettings>

Parámetros

Devoluciones

submitUSProgramBrief(string, SubmitUSProgramBriefOptions)

function submitUSProgramBrief(programBriefId: string, options?: SubmitUSProgramBriefOptions): Promise<USProgramBrief>

Parámetros

programBriefId

string

Devoluciones

Promise<USProgramBrief>

upsertUSProgramBrief(string, ShortCodesUpsertUSProgramBriefOptionalParams)

function upsertUSProgramBrief(programBriefId: string, options?: ShortCodesUpsertUSProgramBriefOptionalParams): Promise<USProgramBrief>

Parámetros

programBriefId

string

Devoluciones

Promise<USProgramBrief>