Class ListPackagesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.oda.requests.ListPackagesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public class ListPackagesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/oda/ListPackagesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPackagesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListPackagesRequest.Builder
static class
ListPackagesRequest.SortBy
Sort on this field.static class
ListPackagesRequest.SortOrder
Sort the results in this order, use either ASC (ascending) or DESC (descending).
-
Constructor Summary
Constructors Constructor Description ListPackagesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPackagesRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
List the packages that belong to this compartment.String
getDisplayName()
List only the information for the Digital Assistant instance with this user-friendly name.Boolean
getIsLatestVersionOnly()
Should we return only the latest version of a package (instead of all versions)?Integer
getLimit()
The maximum number of items to return per page.String
getName()
List only the information for the package with this name.String
getOdaInstanceId()
List only the information for this Digital Assistant instance.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
The page at which to start retrieving results.String
getResourceType()
Resource type identifier.ListPackagesRequest.SortBy
getSortBy()
Sort on this field.ListPackagesRequest.SortOrder
getSortOrder()
Sort the results in this order, use either ASC (ascending) or DESC (descending).int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListPackagesRequest.Builder
toBuilder()
Return an instance ofListPackagesRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getOdaInstanceId
public String getOdaInstanceId()
List only the information for this Digital Assistant instance.
-
getResourceType
public String getResourceType()
Resource type identifier.Used to limit query results to the items which are applicable to the given type.
-
getCompartmentId
public String getCompartmentId()
List the packages that belong to this compartment.
-
getName
public String getName()
List only the information for the package with this name.Package names are unique to a publisher and may not change.
Example: My Package
-
getDisplayName
public String getDisplayName()
List only the information for the Digital Assistant instance with this user-friendly name.These names don’t have to be unique and may change.
Example: My new resource
-
getIsLatestVersionOnly
public Boolean getIsLatestVersionOnly()
Should we return only the latest version of a package (instead of all versions)?
-
getLimit
public Integer getLimit()
The maximum number of items to return per page.
-
getPage
public String getPage()
The page at which to start retrieving results.You get this value from the opc-next-page header in a previous list request. To retireve the first page, omit this query parameter.
Example: MToxMA==
-
getSortOrder
public ListPackagesRequest.SortOrder getSortOrder()
Sort the results in this order, use either ASC (ascending) or DESC (descending).
-
getSortBy
public ListPackagesRequest.SortBy getSortBy()
Sort on this field.You can specify one sort order only. The default sort field is TIMECREATED.
The default sort order for TIMECREATED is descending, and the default sort order for DISPLAYNAME is ascending.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.This value is included in the opc-request-id response header.
-
toBuilder
public ListPackagesRequest.Builder toBuilder()
Return an instance ofListPackagesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListPackagesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListPackagesRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-