Class HrisGetCompanyResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.HrisGetCompanyResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHrisGetCompanyResponse.Builder
-
Constructor Summary
Constructors Constructor Description HrisGetCompanyResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetCompanyResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends CompanyResult> companyResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HrisGetCompanyResponse.Builderbuilder()java.util.Optional<CompanyResult>companyResult()The Company with the given identifier was retrieved.java.lang.StringcontentType()HTTP response content type for this operationbooleanequals(java.lang.Object o)inthashCode()java.util.Map<java.lang.String,java.util.List<java.lang.String>>headers()java.net.http.HttpResponse<java.io.InputStream>rawResponse()Raw HTTP response; suitable for custom response parsingintstatusCode()HTTP response status code for this operationjava.lang.StringtoString()HrisGetCompanyResponsewithCompanyResult(CompanyResult companyResult)The Company with the given identifier was retrieved.HrisGetCompanyResponsewithCompanyResult(java.util.Optional<? extends CompanyResult> companyResult)The Company with the given identifier was retrieved.HrisGetCompanyResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationHrisGetCompanyResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetCompanyResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingHrisGetCompanyResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
HrisGetCompanyResponse
public HrisGetCompanyResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends CompanyResult> companyResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
HrisGetCompanyResponse
public HrisGetCompanyResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
-
Method Detail
-
contentType
public java.lang.String contentType()
HTTP response content type for this operation- Specified by:
contentTypein interfaceResponse
-
statusCode
public int statusCode()
HTTP response status code for this operation- Specified by:
statusCodein interfaceResponse
-
rawResponse
public java.net.http.HttpResponse<java.io.InputStream> rawResponse()
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceResponse
-
companyResult
public java.util.Optional<CompanyResult> companyResult()
The Company with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static final HrisGetCompanyResponse.Builder builder()
-
withContentType
public HrisGetCompanyResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public HrisGetCompanyResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public HrisGetCompanyResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withCompanyResult
public HrisGetCompanyResponse withCompanyResult(CompanyResult companyResult)
The Company with the given identifier was retrieved.
-
withCompanyResult
public HrisGetCompanyResponse withCompanyResult(java.util.Optional<? extends CompanyResult> companyResult)
The Company with the given identifier was retrieved.
-
withHeaders
public HrisGetCompanyResponse withHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-