Class CryptoPerpLatestFuturesPricingResp
java.lang.Object
markets.alpaca.client.openapi.data.model.CryptoPerpLatestFuturesPricingResp
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CryptoPerpLatestFuturesPricingResp
extends Object
implements Serializable
CryptoPerpLatestFuturesPricingResp
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of CryptoPerpLatestFuturesPricingResp given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get pricinginthashCode()pricing(Map<String, CryptoPerpFuturesPricing> pricing) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putPricingItem(String key, CryptoPerpFuturesPricing pricingItem) voidsetPricing(Map<String, CryptoPerpFuturesPricing> pricing) toJson()Convert an instance of CryptoPerpLatestFuturesPricingResp to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PRICING
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CryptoPerpLatestFuturesPricingResp
public CryptoPerpLatestFuturesPricingResp()
-
-
Method Details
-
pricing
public CryptoPerpLatestFuturesPricingResp pricing(@Nonnull Map<String, CryptoPerpFuturesPricing> pricing) -
putPricingItem
public CryptoPerpLatestFuturesPricingResp putPricingItem(String key, CryptoPerpFuturesPricing pricingItem) -
getPricing
Get pricing- Returns:
- pricing
-
setPricing
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CryptoPerpLatestFuturesPricingResp instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CryptoPerpLatestFuturesPricingResp
-
fromJson
Create an instance of CryptoPerpLatestFuturesPricingResp given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CryptoPerpLatestFuturesPricingResp
- Throws:
IOException- if the JSON string is invalid with respect to CryptoPerpLatestFuturesPricingResp
-
toJson
Convert an instance of CryptoPerpLatestFuturesPricingResp to an JSON string- Returns:
- JSON string
-