Package com.exoscale.sdk.model
Class SosBucketUsage
- java.lang.Object
-
- com.exoscale.sdk.model.SosBucketUsage
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class SosBucketUsage extends Object
SOS Bucket usage
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_CREATED_AT
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_SIZE
static String
JSON_PROPERTY_ZONE_NAME
-
Constructor Summary
Constructors Constructor Description SosBucketUsage()
SosBucketUsage(OffsetDateTime createdAt, Long size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this sos-bucket-usage object is equal to o.OffsetDateTime
getCreatedAt()
SOS Bucket creation dateString
getName()
SOS Bucket nameLong
getSize()
SOS Bucket size in B minimum: 0ZoneName
getZoneName()
Get zoneNameint
hashCode()
SosBucketUsage
name(String name)
void
setName(String name)
void
setZoneName(ZoneName zoneName)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.SosBucketUsage
zoneName(ZoneName zoneName)
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ZONE_NAME
public static final String JSON_PROPERTY_ZONE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SosBucketUsage
public SosBucketUsage()
-
SosBucketUsage
public SosBucketUsage(OffsetDateTime createdAt, Long size)
-
-
Method Detail
-
name
public SosBucketUsage name(String name)
-
getName
@Nullable public String getName()
SOS Bucket name- Returns:
- name
-
setName
public void setName(String name)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
SOS Bucket creation date- Returns:
- createdAt
-
zoneName
public SosBucketUsage zoneName(ZoneName zoneName)
-
getZoneName
@Nullable public ZoneName getZoneName()
Get zoneName- Returns:
- zoneName
-
setZoneName
public void setZoneName(ZoneName zoneName)
-
getSize
@Nullable public Long getSize()
SOS Bucket size in B minimum: 0- Returns:
- size
-
equals
public boolean equals(Object o)
Return true if this sos-bucket-usage object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-