Package com.launchdarkly.api.model
Class PatchWithComment
- java.lang.Object
-
- com.launchdarkly.api.model.PatchWithComment
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-03-11T16:36:03.019051Z[Etc/UTC]") public class PatchWithComment extends java.lang.ObjectPatchWithComment
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERIALIZED_NAME_COMMENTstatic java.lang.StringSERIALIZED_NAME_PATCH
-
Constructor Summary
Constructors Constructor Description PatchWithComment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchWithCommentaddPatchItem(PatchOperation patchItem)PatchWithCommentcomment(java.lang.String comment)booleanequals(java.lang.Object o)java.lang.StringgetComment()Get commentjava.util.List<PatchOperation>getPatch()Get patchinthashCode()PatchWithCommentpatch(java.util.List<PatchOperation> patch)voidsetComment(java.lang.String comment)voidsetPatch(java.util.List<PatchOperation> patch)java.lang.StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_PATCH
public static final java.lang.String SERIALIZED_NAME_PATCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMMENT
public static final java.lang.String SERIALIZED_NAME_COMMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
patch
public PatchWithComment patch(java.util.List<PatchOperation> patch)
-
addPatchItem
public PatchWithComment addPatchItem(PatchOperation patchItem)
-
getPatch
@Nonnull public java.util.List<PatchOperation> getPatch()
Get patch- Returns:
- patch
-
setPatch
public void setPatch(java.util.List<PatchOperation> patch)
-
comment
public PatchWithComment comment(java.lang.String comment)
-
getComment
@Nullable public java.lang.String getComment()
Get comment- Returns:
- comment
-
setComment
public void setComment(java.lang.String comment)
-
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
-
-