Class S3ObjectsClient
- java.lang.Object
-
- com.chrt.api.resources.billing.lineitemgroups.s3objects.S3ObjectsClient
-
public class S3ObjectsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description S3ObjectsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddV1(java.lang.String lineItemGroupId, java.io.File image, BodyLineItemGroupsS3ObjectPostAddV1BillingLineItemGroupsS3ObjectsAddV1LineItemGroupIdPost request)Uploads an image file to a line item group with automatic blurhash generation.booleanaddV1(java.lang.String lineItemGroupId, java.io.File image, BodyLineItemGroupsS3ObjectPostAddV1BillingLineItemGroupsS3ObjectsAddV1LineItemGroupIdPost request, RequestOptions requestOptions)Uploads an image file to a line item group with automatic blurhash generation.booleandeleteV1(java.lang.String lineItemGroupS3ObjectMetadataId)Deletes an S3 object metadata and the associated S3 object from a line item group.booleandeleteV1(java.lang.String lineItemGroupS3ObjectMetadataId, RequestOptions requestOptions)Deletes an S3 object metadata and the associated S3 object from a line item group.LineItemGroupS3ObjectMetadata1getS3ObjectMetadataV1(java.lang.String lineItemGroupS3ObjectMetadataId)Retrieves the metadata for a line item group S3 object, including blurhash for placeholder loading.LineItemGroupS3ObjectMetadata1getS3ObjectMetadataV1(java.lang.String lineItemGroupS3ObjectMetadataId, RequestOptions requestOptions)Retrieves the metadata for a line item group S3 object, including blurhash for placeholder loading.java.io.InputStreamgetV1(java.lang.String lineItemGroupS3ObjectMetadataId)Streams a line item group S3 object file from storage.java.io.InputStreamgetV1(java.lang.String lineItemGroupS3ObjectMetadataId, RequestOptions requestOptions)Streams a line item group S3 object file from storage.RawS3ObjectsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
S3ObjectsClient
public S3ObjectsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawS3ObjectsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getS3ObjectMetadataV1
public LineItemGroupS3ObjectMetadata1 getS3ObjectMetadataV1(java.lang.String lineItemGroupS3ObjectMetadataId)
Retrieves the metadata for a line item group S3 object, including blurhash for placeholder loading. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupS3ObjectMetadata1)
-
getS3ObjectMetadataV1
public LineItemGroupS3ObjectMetadata1 getS3ObjectMetadataV1(java.lang.String lineItemGroupS3ObjectMetadataId, RequestOptions requestOptions)
Retrieves the metadata for a line item group S3 object, including blurhash for placeholder loading. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupS3ObjectMetadata1)
-
getV1
public java.io.InputStream getV1(java.lang.String lineItemGroupS3ObjectMetadataId)
Streams a line item group S3 object file from storage. | authz_personas=[lig_org_operators, lig_driver] | () -> (binary)
-
getV1
public java.io.InputStream getV1(java.lang.String lineItemGroupS3ObjectMetadataId, RequestOptions requestOptions)Streams a line item group S3 object file from storage. | authz_personas=[lig_org_operators, lig_driver] | () -> (binary)
-
addV1
public boolean addV1(java.lang.String lineItemGroupId, java.io.File image, BodyLineItemGroupsS3ObjectPostAddV1BillingLineItemGroupsS3ObjectsAddV1LineItemGroupIdPost request)Uploads an image file to a line item group with automatic blurhash generation. | authz_personas=[lig_org_operators, lig_driver] | (UploadFile) -> (bool)
-
addV1
public boolean addV1(java.lang.String lineItemGroupId, java.io.File image, BodyLineItemGroupsS3ObjectPostAddV1BillingLineItemGroupsS3ObjectsAddV1LineItemGroupIdPost request, RequestOptions requestOptions)Uploads an image file to a line item group with automatic blurhash generation. | authz_personas=[lig_org_operators, lig_driver] | (UploadFile) -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String lineItemGroupS3ObjectMetadataId)
Deletes an S3 object metadata and the associated S3 object from a line item group. | authz_personas=[lig_org_operators, lig_driver] | () -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String lineItemGroupS3ObjectMetadataId, RequestOptions requestOptions)Deletes an S3 object metadata and the associated S3 object from a line item group. | authz_personas=[lig_org_operators, lig_driver] | () -> (bool)
-
-