Package com.datadog.api.client.v2.model
Class TeamSyncAttributes
java.lang.Object
com.datadog.api.client.v2.model.TeamSyncAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TeamSyncAttributes
extends Object
Team sync attributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTeamSyncAttributes(TeamSyncAttributesSource source, TeamSyncAttributesType type) -
Method Summary
Modifier and TypeMethodDescriptionaddSelectionStateItem(TeamSyncSelectionStateItem selectionStateItem) booleanReturn true if this TeamSyncAttributes object is equal to o.frequency(TeamSyncAttributesFrequency frequency) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.How often the sync process should be run.Specifies which teams or organizations to sync.The external source platform for team synchronization.Whether to sync members from the external team to the Datadog team.getType()The type of synchronization operation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.selectionState(List<TeamSyncSelectionStateItem> selectionState) voidsetFrequency(TeamSyncAttributesFrequency frequency) voidsetSelectionState(List<TeamSyncSelectionStateItem> selectionState) voidsetSource(TeamSyncAttributesSource source) voidsetSyncMembership(Boolean syncMembership) voidsource(TeamSyncAttributesSource source) syncMembership(Boolean syncMembership) toString()type(TeamSyncAttributesType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FREQUENCY
- See Also:
-
JSON_PROPERTY_SELECTION_STATE
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_SYNC_MEMBERSHIP
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TeamSyncAttributes
public TeamSyncAttributes() -
TeamSyncAttributes
-
-
Method Details
-
frequency
-
getFrequency
How often the sync process should be run. Defaults tooncewhen not provided.- Returns:
- frequency
-
setFrequency
-
selectionState
-
addSelectionStateItem
-
getSelectionState
Specifies which teams or organizations to sync. When provided, synchronization is limited to the specified items and their subtrees.- Returns:
- selectionState
-
setSelectionState
-
source
-
getSource
The external source platform for team synchronization. Only "github" is supported.- Returns:
- source
-
setSource
-
syncMembership
-
getSyncMembership
Whether to sync members from the external team to the Datadog team. Defaults tofalsewhen not provided.- Returns:
- syncMembership
-
setSyncMembership
-
type
-
getType
The type of synchronization operation. "link" connects teams by matching names. "provision" creates new teams when no match is found.- Returns:
- type
-
setType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- TeamSyncAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this TeamSyncAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-