/
create_idp_group_mapping_request_response.go
51 lines (38 loc) · 1.82 KB
/
create_idp_group_mapping_request_response.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
package identity
import (
"github.com/oracle/oci-go-sdk/common"
"net/http"
)
// CreateIdpGroupMappingRequest wrapper for the CreateIdpGroupMapping operation
type CreateIdpGroupMappingRequest struct {
// Add a mapping from an SAML2.0 identity provider group to a BMC group.
CreateIdpGroupMappingDetails `contributesTo:"body"`
// The OCID of the identity provider.
IdentityProviderId *string `mandatory:"true" contributesTo:"path" name:"identityProviderId"`
// A token that uniquely identifies a request so it can be retried in case of a timeout or
// server error without risk of executing that same action again. Retry tokens expire after 24
// hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
// has been deleted and purged from the system, then a retry of the original creation request
// may be rejected).
OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
}
func (request CreateIdpGroupMappingRequest) String() string {
return common.PointerString(request)
}
// CreateIdpGroupMappingResponse wrapper for the CreateIdpGroupMapping operation
type CreateIdpGroupMappingResponse struct {
// The underlying http response
RawResponse *http.Response
// The IdpGroupMapping instance
IdpGroupMapping `presentIn:"body"`
// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
// particular request, please provide the request ID.
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
// For optimistic concurrency control. See `if-match`.
Etag *string `presentIn:"header" name:"etag"`
}
func (response CreateIdpGroupMappingResponse) String() string {
return common.PointerString(response)
}