com.oracle.bmc.dataintegration.responses.ListApplicationsResponse Maven / Gradle / Ivy
/**
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
package com.oracle.bmc.dataintegration.responses;
import com.oracle.bmc.dataintegration.model.*;
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430")
@lombok.Builder(builderClassName = "Builder")
@lombok.ToString(callSuper = true)
@lombok.EqualsAndHashCode
@lombok.Getter
public class ListApplicationsResponse extends com.oracle.bmc.responses.BmcResponse {
/**
* Unique Oracle-assigned identifier for the request. If you need to contact
* Oracle about a particular request, please provide the request ID.
*
*/
private String opcRequestId;
/**
* Retrieves the next page of results. When this header appears in the response, additional pages of results remain. See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
*
*/
private String opcNextPage;
/**
* Retrieves the previous page of results. When this header appears in the response, previous pages of results exist. See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
*
*/
private String opcPrevPage;
/**
* Total items in the entire list.
*
*/
private Integer opcTotalItems;
/**
* The returned ApplicationSummaryCollection instance.
*/
private com.oracle.bmc.dataintegration.model.ApplicationSummaryCollection
applicationSummaryCollection;
private ListApplicationsResponse(
int __httpStatusCode__,
String opcRequestId,
String opcNextPage,
String opcPrevPage,
Integer opcTotalItems,
com.oracle.bmc.dataintegration.model.ApplicationSummaryCollection
applicationSummaryCollection) {
super(__httpStatusCode__);
this.opcRequestId = opcRequestId;
this.opcNextPage = opcNextPage;
this.opcPrevPage = opcPrevPage;
this.opcTotalItems = opcTotalItems;
this.applicationSummaryCollection = applicationSummaryCollection;
}
public static class Builder {
private int __httpStatusCode__;
public Builder __httpStatusCode__(int __httpStatusCode__) {
this.__httpStatusCode__ = __httpStatusCode__;
return this;
}
/**
* Copy method to populate the builder with values from the given instance.
* @return this builder instance
*/
public Builder copy(ListApplicationsResponse o) {
__httpStatusCode__(o.get__httpStatusCode__());
opcRequestId(o.getOpcRequestId());
opcNextPage(o.getOpcNextPage());
opcPrevPage(o.getOpcPrevPage());
opcTotalItems(o.getOpcTotalItems());
applicationSummaryCollection(o.getApplicationSummaryCollection());
return this;
}
public ListApplicationsResponse build() {
return new ListApplicationsResponse(
__httpStatusCode__,
opcRequestId,
opcNextPage,
opcPrevPage,
opcTotalItems,
applicationSummaryCollection);
}
}
}