Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1KeyToPath
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1KeyToPath
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1KeyToPath extends Object
Maps a string key to a path within a volume.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_KEYstatic StringJSON_PROPERTY_MODEstatic StringJSON_PROPERTY_PATH
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1KeyToPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetKey()The key to project.IntegergetMode()Optional: mode bits to use on this file, must be a value between 0 and 0777.StringgetPath()The relative path of the file to map the key to.inthashCode()IoK8sApiCoreV1KeyToPathkey(String key)IoK8sApiCoreV1KeyToPathmode(Integer mode)IoK8sApiCoreV1KeyToPathpath(String path)voidsetKey(String key)voidsetMode(Integer mode)voidsetPath(String path)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODE
public static final String JSON_PROPERTY_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PATH
public static final String JSON_PROPERTY_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
key
public IoK8sApiCoreV1KeyToPath key(String key)
-
getKey
public String getKey()
The key to project.- Returns:
- key
-
setKey
public void setKey(String key)
-
mode
public IoK8sApiCoreV1KeyToPath mode(Integer mode)
-
getMode
@Nullable public Integer getMode()
Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.- Returns:
- mode
-
setMode
public void setMode(Integer mode)
-
path
public IoK8sApiCoreV1KeyToPath path(String path)
-
getPath
public String getPath()
The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.- Returns:
- path
-
setPath
public void setPath(String path)
-
-