Package dev.openfga.sdk.api.model
Class ConditionMetadata
- java.lang.Object
-
- dev.openfga.sdk.api.model.ConditionMetadata
-
public class ConditionMetadata extends java.lang.Object
ConditionMetadata
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_MODULE
static java.lang.String
JSON_PROPERTY_SOURCE_INFO
-
Constructor Summary
Constructors Constructor Description ConditionMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Return true if this ConditionMetadata object is equal to o.java.lang.String
getModule()
Get moduleSourceInfo
getSourceInfo()
Get sourceInfoint
hashCode()
ConditionMetadata
module(java.lang.String module)
void
setModule(java.lang.String module)
void
setSourceInfo(SourceInfo sourceInfo)
ConditionMetadata
sourceInfo(SourceInfo sourceInfo)
java.lang.String
toString()
java.lang.String
toUrlQueryString()
Convert the instance into URL query string.java.lang.String
toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_MODULE
public static final java.lang.String JSON_PROPERTY_MODULE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_INFO
public static final java.lang.String JSON_PROPERTY_SOURCE_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
module
public ConditionMetadata module(java.lang.String module)
-
getModule
@Nullable public java.lang.String getModule()
Get module- Returns:
- module
-
setModule
public void setModule(java.lang.String module)
-
sourceInfo
public ConditionMetadata sourceInfo(SourceInfo sourceInfo)
-
getSourceInfo
@Nullable public SourceInfo getSourceInfo()
Get sourceInfo- Returns:
- sourceInfo
-
setSourceInfo
public void setSourceInfo(SourceInfo sourceInfo)
-
equals
public boolean equals(java.lang.Object o)
Return true if this ConditionMetadata object is equal to o.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-
-