diff options
author | Wim <wim@42.be> | 2020-03-08 17:08:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 17:08:18 +0100 |
commit | 9785edd26366be8eb11c2435f50f90a5c8eea7fc (patch) | |
tree | e8e236b5b273e7535c607507cc059f3b957068a1 /vendor/github.com/matterbridge/msgraph.go/beta/TrustFrameworkKeySetAction.go | |
parent | 2a0bc11b684f63305258e338c5f1d0e91eb24414 (diff) | |
download | matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.gz matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.tar.bz2 matterbridge-msglm-9785edd26366be8eb11c2435f50f90a5c8eea7fc.zip |
Remove replace directives and use own fork to make go get work again (#1028)
See https://github.com/golang/go/issues/30354
go get doesn't honor the go.mod replace options.
Diffstat (limited to 'vendor/github.com/matterbridge/msgraph.go/beta/TrustFrameworkKeySetAction.go')
-rw-r--r-- | vendor/github.com/matterbridge/msgraph.go/beta/TrustFrameworkKeySetAction.go | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/vendor/github.com/matterbridge/msgraph.go/beta/TrustFrameworkKeySetAction.go b/vendor/github.com/matterbridge/msgraph.go/beta/TrustFrameworkKeySetAction.go new file mode 100644 index 00000000..7a46b522 --- /dev/null +++ b/vendor/github.com/matterbridge/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 +} |