diff options
author | Wim <wim@42.be> | 2019-12-26 23:12:28 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2020-03-01 22:19:33 +0100 |
commit | 795a8705c3fdc5bf55e83d382e7d3ff233896a0b (patch) | |
tree | 46ac43e487102de7ea21a823a7a7902ae9493f88 /vendor/github.com/yaegashi/msgraph.go/beta/TrustFrameworkKeySetAction.go | |
parent | 3af0dc3b3a5bfaffe37770c437427f1e99402405 (diff) | |
download | matterbridge-msglm-795a8705c3fdc5bf55e83d382e7d3ff233896a0b.tar.gz matterbridge-msglm-795a8705c3fdc5bf55e83d382e7d3ff233896a0b.tar.bz2 matterbridge-msglm-795a8705c3fdc5bf55e83d382e7d3ff233896a0b.zip |
Add initial Microsoft Teams support
Documentation on https://github.com/42wim/matterbridge/wiki/MS-Teams-setup
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/TrustFrameworkKeySetAction.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/TrustFrameworkKeySetAction.go | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/TrustFrameworkKeySetAction.go b/vendor/github.com/yaegashi/msgraph.go/beta/TrustFrameworkKeySetAction.go new file mode 100644 index 00000000..7a46b522 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/TrustFrameworkKeySetAction.go @@ -0,0 +1,151 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "context" + +// TrustFrameworkKeySetGenerateKeyRequestParameter undocumented +type TrustFrameworkKeySetGenerateKeyRequestParameter struct { + // Use undocumented + Use *string `json:"use,omitempty"` + // Kty undocumented + Kty *string `json:"kty,omitempty"` + // Nbf undocumented + Nbf *int `json:"nbf,omitempty"` + // Exp undocumented + Exp *int `json:"exp,omitempty"` +} + +// TrustFrameworkKeySetUploadSecretRequestParameter undocumented +type TrustFrameworkKeySetUploadSecretRequestParameter struct { + // Use undocumented + Use *string `json:"use,omitempty"` + // K undocumented + K *string `json:"k,omitempty"` + // Nbf undocumented + Nbf *int `json:"nbf,omitempty"` + // Exp undocumented + Exp *int `json:"exp,omitempty"` +} + +// TrustFrameworkKeySetUploadCertificateRequestParameter undocumented +type TrustFrameworkKeySetUploadCertificateRequestParameter struct { + // Key undocumented + Key *string `json:"key,omitempty"` +} + +// TrustFrameworkKeySetUploadPkcs12RequestParameter undocumented +type TrustFrameworkKeySetUploadPkcs12RequestParameter struct { + // Key undocumented + Key *string `json:"key,omitempty"` + // Password undocumented + Password *string `json:"password,omitempty"` +} + +// +type TrustFrameworkKeySetGenerateKeyRequestBuilder struct{ BaseRequestBuilder } + +// GenerateKey action undocumented +func (b *TrustFrameworkKeySetRequestBuilder) GenerateKey(reqObj *TrustFrameworkKeySetGenerateKeyRequestParameter) *TrustFrameworkKeySetGenerateKeyRequestBuilder { + bb := &TrustFrameworkKeySetGenerateKeyRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/generateKey" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type TrustFrameworkKeySetGenerateKeyRequest struct{ BaseRequest } + +// +func (b *TrustFrameworkKeySetGenerateKeyRequestBuilder) Request() *TrustFrameworkKeySetGenerateKeyRequest { + return &TrustFrameworkKeySetGenerateKeyRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *TrustFrameworkKeySetGenerateKeyRequest) Post(ctx context.Context) (resObj *TrustFrameworkKey, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type TrustFrameworkKeySetUploadSecretRequestBuilder struct{ BaseRequestBuilder } + +// UploadSecret action undocumented +func (b *TrustFrameworkKeySetRequestBuilder) UploadSecret(reqObj *TrustFrameworkKeySetUploadSecretRequestParameter) *TrustFrameworkKeySetUploadSecretRequestBuilder { + bb := &TrustFrameworkKeySetUploadSecretRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/uploadSecret" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type TrustFrameworkKeySetUploadSecretRequest struct{ BaseRequest } + +// +func (b *TrustFrameworkKeySetUploadSecretRequestBuilder) Request() *TrustFrameworkKeySetUploadSecretRequest { + return &TrustFrameworkKeySetUploadSecretRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *TrustFrameworkKeySetUploadSecretRequest) Post(ctx context.Context) (resObj *TrustFrameworkKey, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type TrustFrameworkKeySetUploadCertificateRequestBuilder struct{ BaseRequestBuilder } + +// UploadCertificate action undocumented +func (b *TrustFrameworkKeySetRequestBuilder) UploadCertificate(reqObj *TrustFrameworkKeySetUploadCertificateRequestParameter) *TrustFrameworkKeySetUploadCertificateRequestBuilder { + bb := &TrustFrameworkKeySetUploadCertificateRequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/uploadCertificate" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type TrustFrameworkKeySetUploadCertificateRequest struct{ BaseRequest } + +// +func (b *TrustFrameworkKeySetUploadCertificateRequestBuilder) Request() *TrustFrameworkKeySetUploadCertificateRequest { + return &TrustFrameworkKeySetUploadCertificateRequest{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *TrustFrameworkKeySetUploadCertificateRequest) Post(ctx context.Context) (resObj *TrustFrameworkKey, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} + +// +type TrustFrameworkKeySetUploadPkcs12RequestBuilder struct{ BaseRequestBuilder } + +// UploadPkcs12 action undocumented +func (b *TrustFrameworkKeySetRequestBuilder) UploadPkcs12(reqObj *TrustFrameworkKeySetUploadPkcs12RequestParameter) *TrustFrameworkKeySetUploadPkcs12RequestBuilder { + bb := &TrustFrameworkKeySetUploadPkcs12RequestBuilder{BaseRequestBuilder: b.BaseRequestBuilder} + bb.BaseRequestBuilder.baseURL += "/uploadPkcs12" + bb.BaseRequestBuilder.requestObject = reqObj + return bb +} + +// +type TrustFrameworkKeySetUploadPkcs12Request struct{ BaseRequest } + +// +func (b *TrustFrameworkKeySetUploadPkcs12RequestBuilder) Request() *TrustFrameworkKeySetUploadPkcs12Request { + return &TrustFrameworkKeySetUploadPkcs12Request{ + BaseRequest: BaseRequest{baseURL: b.baseURL, client: b.client, requestObject: b.requestObject}, + } +} + +// +func (r *TrustFrameworkKeySetUploadPkcs12Request) Post(ctx context.Context) (resObj *TrustFrameworkKey, err error) { + err = r.JSONRequest(ctx, "POST", "", r.requestObject, &resObj) + return +} |