Class Rules


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: v1")
    public final class Rules
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The SCIM protocol defines a standard set of query parameters that can be used to filter, sort, and paginate to return zero or more resources in a query response.

    Queries MAY be made against a single resource or a resource type endpoint (e.g., /Users), or the service provider Base URI.
    Note: Objects should always be created or deserialized using the Rules.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the Rules.Builder, which maintain a set of all explicitly set fields called Rules.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • builder

        public static Rules.Builder builder()
        Create a new builder.
      • getSchemas

        public List<String> getSchemas()
        The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation.

        Each String value must be a unique URI. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. REQUIRED.

        Returns:
        the value
      • getTotalResults

        public Integer getTotalResults()
        The total number of results returned by the list or query operation.

        The value may be larger than the number of resources returned such as when returning a single page of results where multiple pages are available. REQUIRED.

        Returns:
        the value
      • getResources

        public List<Rule> getResources()
        A multi-valued list of complex objects containing the requested resources.

        This MAY be a subset of the full set of resources if pagination is requested. REQUIRED if “totalResults” is non-zero.

        Returns:
        the value
      • getStartIndex

        public Integer getStartIndex()
        The 1-based index of the first result in the current set of list results.

        REQUIRED when partial results returned due to pagination.

        Returns:
        the value
      • getItemsPerPage

        public Integer getItemsPerPage()
        The number of resources returned in a list response page.

        REQUIRED when partial results returned due to pagination.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel