Class FlagConfigApprovalRequestResponse


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2022-07-11T22:46:03.646077Z[Etc/UTC]")
    public class FlagConfigApprovalRequestResponse
    extends java.lang.Object
    FlagConfigApprovalRequestResponse
    • Field Detail

      • SERIALIZED_NAME_ID

        public static final java.lang.String SERIALIZED_NAME_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VERSION

        public static final java.lang.String SERIALIZED_NAME_VERSION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CREATION_DATE

        public static final java.lang.String SERIALIZED_NAME_CREATION_DATE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SERVICE_KIND

        public static final java.lang.String SERIALIZED_NAME_SERVICE_KIND
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_REQUESTOR_ID

        public static final java.lang.String SERIALIZED_NAME_REQUESTOR_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_DESCRIPTION

        public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_REVIEW_STATUS

        public static final java.lang.String SERIALIZED_NAME_REVIEW_STATUS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ALL_REVIEWS

        public static final java.lang.String SERIALIZED_NAME_ALL_REVIEWS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_NOTIFY_MEMBER_IDS

        public static final java.lang.String SERIALIZED_NAME_NOTIFY_MEMBER_IDS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_APPLIED_DATE

        public static final java.lang.String SERIALIZED_NAME_APPLIED_DATE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_APPLIED_BY_MEMBER_ID

        public static final java.lang.String SERIALIZED_NAME_APPLIED_BY_MEMBER_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_STATUS

        public static final java.lang.String SERIALIZED_NAME_STATUS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_INSTRUCTIONS

        public static final java.lang.String SERIALIZED_NAME_INSTRUCTIONS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CONFLICTS

        public static final java.lang.String SERIALIZED_NAME_CONFLICTS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LINKS

        public static final java.lang.String SERIALIZED_NAME_LINKS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EXECUTION_DATE

        public static final java.lang.String SERIALIZED_NAME_EXECUTION_DATE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_OPERATING_ON_ID

        public static final java.lang.String SERIALIZED_NAME_OPERATING_ON_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_INTEGRATION_METADATA

        public static final java.lang.String SERIALIZED_NAME_INTEGRATION_METADATA
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SOURCE

        public static final java.lang.String SERIALIZED_NAME_SOURCE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CUSTOM_WORKFLOW_METADATA

        public static final java.lang.String SERIALIZED_NAME_CUSTOM_WORKFLOW_METADATA
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • FlagConfigApprovalRequestResponse

        public FlagConfigApprovalRequestResponse()
    • Method Detail

      • getId

        @Nonnull
        public java.lang.String getId()
        The ID of this approval request
        Returns:
        id
      • setId

        public void setId​(java.lang.String id)
      • getVersion

        @Nonnull
        public java.lang.Integer getVersion()
        Version of the approval request
        Returns:
        version
      • setVersion

        public void setVersion​(java.lang.Integer version)
      • getCreationDate

        @Nonnull
        public java.lang.Long getCreationDate()
        Get creationDate
        Returns:
        creationDate
      • setCreationDate

        public void setCreationDate​(java.lang.Long creationDate)
      • getServiceKind

        @Nonnull
        public java.lang.String getServiceKind()
        Get serviceKind
        Returns:
        serviceKind
      • setServiceKind

        public void setServiceKind​(java.lang.String serviceKind)
      • getRequestorId

        @Nullable
        public java.lang.String getRequestorId()
        The ID of the member who requested the approval
        Returns:
        requestorId
      • setRequestorId

        public void setRequestorId​(java.lang.String requestorId)
      • getDescription

        @Nullable
        public java.lang.String getDescription()
        A human-friendly name for the approval request
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
      • getAllReviews

        @Nonnull
        public java.util.List<ReviewResponse> getAllReviews()
        An array of individual reviews of this approval request
        Returns:
        allReviews
      • setAllReviews

        public void setAllReviews​(java.util.List<ReviewResponse> allReviews)
      • getNotifyMemberIds

        @Nonnull
        public java.util.List<java.lang.String> getNotifyMemberIds()
        An array of member IDs. These members are notified to review the approval request.
        Returns:
        notifyMemberIds
      • setNotifyMemberIds

        public void setNotifyMemberIds​(java.util.List<java.lang.String> notifyMemberIds)
      • getAppliedDate

        @Nullable
        public java.lang.Long getAppliedDate()
        Get appliedDate
        Returns:
        appliedDate
      • setAppliedDate

        public void setAppliedDate​(java.lang.Long appliedDate)
      • getAppliedByMemberId

        @Nullable
        public java.lang.String getAppliedByMemberId()
        The member ID of the member who applied the approval request
        Returns:
        appliedByMemberId
      • setAppliedByMemberId

        public void setAppliedByMemberId​(java.lang.String appliedByMemberId)
      • getInstructions

        @Nonnull
        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getInstructions()
        Get instructions
        Returns:
        instructions
      • setInstructions

        public void setInstructions​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> instructions)
      • getConflicts

        @Nonnull
        public java.util.List<Conflict> getConflicts()
        Details on any conflicting approval requests
        Returns:
        conflicts
      • setConflicts

        public void setConflicts​(java.util.List<Conflict> conflicts)
      • getLinks

        @Nonnull
        public java.util.Map<java.lang.String,​Link> getLinks()
        Links to other resources within the API. Includes the URL and content type of those resources.
        Returns:
        links
      • setLinks

        public void setLinks​(java.util.Map<java.lang.String,​Link> links)
      • getExecutionDate

        @Nullable
        public java.lang.Long getExecutionDate()
        Get executionDate
        Returns:
        executionDate
      • setExecutionDate

        public void setExecutionDate​(java.lang.Long executionDate)
      • getOperatingOnId

        @Nullable
        public java.lang.String getOperatingOnId()
        ID of scheduled change to edit or delete
        Returns:
        operatingOnId
      • setOperatingOnId

        public void setOperatingOnId​(java.lang.String operatingOnId)
      • getIntegrationMetadata

        @Nullable
        public IntegrationMetadata getIntegrationMetadata()
        Get integrationMetadata
        Returns:
        integrationMetadata
      • setIntegrationMetadata

        public void setIntegrationMetadata​(IntegrationMetadata integrationMetadata)
      • getSource

        @Nullable
        public CopiedFromEnv getSource()
        Get source
        Returns:
        source
      • getCustomWorkflowMetadata

        @Nullable
        public CustomWorkflowMeta getCustomWorkflowMetadata()
        Get customWorkflowMetadata
        Returns:
        customWorkflowMetadata
      • setCustomWorkflowMetadata

        public void setCustomWorkflowMetadata​(CustomWorkflowMeta customWorkflowMetadata)
      • putAdditionalProperty

        public FlagConfigApprovalRequestResponse putAdditionalProperty​(java.lang.String key,
                                                                       java.lang.Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws java.io.IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        java.io.IOException - if the JSON Object is invalid with respect to FlagConfigApprovalRequestResponse
      • fromJson

        public static FlagConfigApprovalRequestResponse fromJson​(java.lang.String jsonString)
                                                          throws java.io.IOException
        Create an instance of FlagConfigApprovalRequestResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FlagConfigApprovalRequestResponse
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to FlagConfigApprovalRequestResponse
      • toJson

        public java.lang.String toJson()
        Convert an instance of FlagConfigApprovalRequestResponse to an JSON string
        Returns:
        JSON string