{"modulePath":"github.com/osapi-io/osapi","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gen\n\nPackage gen contains generated code for the user and group API.\n\nPackage gen provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.\n\n## Constants\n\n```go\nconst (\n\tBearerAuthScopes bearerAuthContextKey = \"BearerAuth.Scopes\"\n)\n```\n\n## Functions\n\n```go\nfunc RegisterHandlers(router EchoRouter, si ServerInterface)\n```\nRegisterHandlers adds each server route to the EchoRouter.\n\n```go\nfunc RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)\n```\nRegisterHandlersWithBaseURL registers handlers and prepends BaseURL to the paths so the API can be served under a prefix.\n\n```go\nfunc RegisterHandlersWithOptions(router EchoRouter, si ServerInterface, options RegisterHandlersOptions)\n```\nRegisterHandlersWithOptions registers handlers using the supplied options, including any per-operation middleware.\n\n## Types\n\n```go\ntype DeleteNodeGroup200JSONResponse GroupMutationResponse\n```\n\n```go\nfunc (response DeleteNodeGroup200JSONResponse) VisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeGroup400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeGroup400JSONResponse) VisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeGroup401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeGroup401JSONResponse) VisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeGroup403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeGroup403JSONResponse) VisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeGroup404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeGroup404JSONResponse) VisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeGroup500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeGroup500JSONResponse) VisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeGroupRequestObject struct {\n\tHostname Hostname  `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     GroupName `json:\"name\" validate:\"required,account_name\"`\n}\n```\n\n```go\ntype DeleteNodeGroupResponseObject interface {\n\tVisitDeleteNodeGroupResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype DeleteNodeUser200JSONResponse UserMutationResponse\n```\n\n```go\nfunc (response DeleteNodeUser200JSONResponse) VisitDeleteNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUser400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUser400JSONResponse) VisitDeleteNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUser401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUser401JSONResponse) VisitDeleteNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUser403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUser403JSONResponse) VisitDeleteNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUser404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUser404JSONResponse) VisitDeleteNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUser500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUser500JSONResponse) VisitDeleteNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUserRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     UserName `json:\"name\" validate:\"required,account_name\"`\n}\n```\n\n```go\ntype DeleteNodeUserResponseObject interface {\n\tVisitDeleteNodeUserResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype DeleteNodeUserSSHKey200JSONResponse SSHKeyMutationResponse\n```\n\n```go\nfunc (response DeleteNodeUserSSHKey200JSONResponse) VisitDeleteNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUserSSHKey400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUserSSHKey400JSONResponse) VisitDeleteNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUserSSHKey401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUserSSHKey401JSONResponse) VisitDeleteNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUserSSHKey403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUserSSHKey403JSONResponse) VisitDeleteNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUserSSHKey500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeUserSSHKey500JSONResponse) VisitDeleteNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeUserSSHKeyRequestObject struct {\n\tHostname    Hostname          `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName        UserName          `json:\"name\" validate:\"required,account_name\"`\n\tFingerprint SSHKeyFingerprint `json:\"fingerprint\" validate:\"required,min=1\"`\n}\n```\n\n```go\ntype DeleteNodeUserSSHKeyResponseObject interface {\n\tVisitDeleteNodeUserSSHKeyResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype EchoRouter interface {\n\tCONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tDELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tGET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tHEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tOPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPOST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tTRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n}\n```\nThis is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration\n\n```go\ntype ErrorResponse = externalRef0.ErrorResponse\n```\nErrorResponse defines model for ErrorResponse.\n\n```go\ntype GetNodeGroup200JSONResponse GroupCollectionResponse\n```\n\n```go\nfunc (response GetNodeGroup200JSONResponse) VisitGetNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroup400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroup400JSONResponse) VisitGetNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroup401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroup401JSONResponse) VisitGetNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroup403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroup403JSONResponse) VisitGetNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroup500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroup500JSONResponse) VisitGetNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByName200JSONResponse GroupCollectionResponse\n```\n\n```go\nfunc (response GetNodeGroupByName200JSONResponse) VisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByName400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroupByName400JSONResponse) VisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByName401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroupByName401JSONResponse) VisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByName403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroupByName403JSONResponse) VisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByName404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroupByName404JSONResponse) VisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByName500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeGroupByName500JSONResponse) VisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeGroupByNameRequestObject struct {\n\tHostname Hostname  `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     GroupName `json:\"name\" validate:\"required,account_name\"`\n}\n```\n\n```go\ntype GetNodeGroupByNameResponseObject interface {\n\tVisitGetNodeGroupByNameResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GetNodeGroupRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n}\n```\n\n```go\ntype GetNodeGroupResponseObject interface {\n\tVisitGetNodeGroupResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GetNodeUser200JSONResponse UserCollectionResponse\n```\n\n```go\nfunc (response GetNodeUser200JSONResponse) VisitGetNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUser400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUser400JSONResponse) VisitGetNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUser401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUser401JSONResponse) VisitGetNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUser403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUser403JSONResponse) VisitGetNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUser500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUser500JSONResponse) VisitGetNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByName200JSONResponse UserCollectionResponse\n```\n\n```go\nfunc (response GetNodeUserByName200JSONResponse) VisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByName400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserByName400JSONResponse) VisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByName401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserByName401JSONResponse) VisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByName403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserByName403JSONResponse) VisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByName404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserByName404JSONResponse) VisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByName500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserByName500JSONResponse) VisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserByNameRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     UserName `json:\"name\" validate:\"required,account_name\"`\n}\n```\n\n```go\ntype GetNodeUserByNameResponseObject interface {\n\tVisitGetNodeUserByNameResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GetNodeUserRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n}\n```\n\n```go\ntype GetNodeUserResponseObject interface {\n\tVisitGetNodeUserResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GetNodeUserSSHKey200JSONResponse SSHKeyCollectionResponse\n```\n\n```go\nfunc (response GetNodeUserSSHKey200JSONResponse) VisitGetNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserSSHKey400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserSSHKey400JSONResponse) VisitGetNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserSSHKey401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserSSHKey401JSONResponse) VisitGetNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserSSHKey403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserSSHKey403JSONResponse) VisitGetNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserSSHKey500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeUserSSHKey500JSONResponse) VisitGetNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeUserSSHKeyRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     UserName `json:\"name\" validate:\"required,account_name\"`\n}\n```\n\n```go\ntype GetNodeUserSSHKeyResponseObject interface {\n\tVisitGetNodeUserSSHKeyResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GroupCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []GroupEntry        `json:\"results\"`\n}\n```\nGroupCollectionResponse defines model for GroupCollectionResponse.\n\n```go\ntype GroupCreateRequest struct {\n\t// Gid Numeric group ID. If omitted, the system assigns one.\n\tGid *int `json:\"gid,omitempty\" validate:\"omitempty,min=0\"`\n\n\t// Name Group name. Must start with a lowercase letter or underscore, followed by lowercase letters, digits, underscores, or hyphens, with an optional trailing `$`; 32 characters or fewer.\n\tName string `json:\"name\" validate:\"required,account_name\"`\n\n\t// System Create a system group.\n\tSystem *bool `json:\"system,omitempty\" validate:\"omitempty\"`\n}\n```\nGroupCreateRequest defines model for GroupCreateRequest.\n\n```go\ntype GroupEntry struct {\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Groups Groups on this host.\n\tGroups *[]GroupInfo `json:\"groups,omitempty\"`\n\n\t// Hostname Hostname of the agent that reported this entry.\n\tHostname string `json:\"hostname\"`\n\n\t// Status The status of the operation for this host.\n\tStatus GroupEntryStatus `json:\"status\"`\n}\n```\nGroupEntry Group listing result for one host.\n\n```go\ntype GroupEntryStatus string\n```\nGroupEntryStatus The status of the operation for this host.\n\n```go\nconst (\n\tGroupEntryStatusFailed  GroupEntryStatus = \"failed\"\n\tGroupEntryStatusOk      GroupEntryStatus = \"ok\"\n\tGroupEntryStatusSkipped GroupEntryStatus = \"skipped\"\n\tGroupEntryStatusTimeout GroupEntryStatus = \"timeout\"\n)\n```\nDefines values for GroupEntryStatus.\n\n```go\nfunc (e GroupEntryStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the GroupEntryStatus enum.\n\n```go\ntype GroupInfo struct {\n\t// Gid Numeric group ID.\n\tGid *int `json:\"gid,omitempty\"`\n\n\t// Members Group member usernames.\n\tMembers *[]string `json:\"members,omitempty\"`\n\n\t// Name Group name.\n\tName *string `json:\"name,omitempty\"`\n}\n```\nGroupInfo A group on the target node.\n\n```go\ntype GroupMutationResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID   `json:\"job_id,omitempty\"`\n\tResults []GroupMutationResult `json:\"results\"`\n}\n```\nGroupMutationResponse defines model for GroupMutationResponse.\n\n```go\ntype GroupMutationResult struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname Hostname of the agent that processed this operation.\n\tHostname string `json:\"hostname\"`\n\n\t// Name Group name.\n\tName *string `json:\"name,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus GroupMutationResultStatus `json:\"status\"`\n}\n```\nGroupMutationResult Result of a group create, update, or delete operation for one host.\n\n```go\ntype GroupMutationResultStatus string\n```\nGroupMutationResultStatus The status of the operation for this host.\n\n```go\nconst (\n\tGroupMutationResultStatusFailed  GroupMutationResultStatus = \"failed\"\n\tGroupMutationResultStatusOk      GroupMutationResultStatus = \"ok\"\n\tGroupMutationResultStatusSkipped GroupMutationResultStatus = \"skipped\"\n\tGroupMutationResultStatusTimeout GroupMutationResultStatus = \"timeout\"\n)\n```\nDefines values for GroupMutationResultStatus.\n\n```go\nfunc (e GroupMutationResultStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the GroupMutationResultStatus enum.\n\n```go\ntype GroupName = string\n```\nGroupName defines model for GroupName.\n\n```go\ntype GroupUpdateRequest struct {\n\t// Members Group member usernames (replaces existing).\n\tMembers *[]string `json:\"members,omitempty\" validate:\"omitempty,dive,account_name\"`\n}\n```\nGroupUpdateRequest defines model for GroupUpdateRequest.\n\n```go\ntype Hostname = string\n```\nHostname defines model for Hostname.\n\n```go\ntype PostNodeGroup200JSONResponse GroupMutationResponse\n```\n\n```go\nfunc (response PostNodeGroup200JSONResponse) VisitPostNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeGroup400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeGroup400JSONResponse) VisitPostNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeGroup401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeGroup401JSONResponse) VisitPostNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeGroup403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeGroup403JSONResponse) VisitPostNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeGroup500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeGroup500JSONResponse) VisitPostNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeGroupJSONRequestBody = GroupCreateRequest\n```\nPostNodeGroupJSONRequestBody defines body for PostNodeGroup for application/json ContentType.\n\n```go\ntype PostNodeGroupRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tBody     *PostNodeGroupJSONRequestBody\n}\n```\n\n```go\ntype PostNodeGroupResponseObject interface {\n\tVisitPostNodeGroupResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeUser200JSONResponse UserMutationResponse\n```\n\n```go\nfunc (response PostNodeUser200JSONResponse) VisitPostNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUser400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUser400JSONResponse) VisitPostNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUser401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUser401JSONResponse) VisitPostNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUser403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUser403JSONResponse) VisitPostNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUser500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUser500JSONResponse) VisitPostNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserJSONRequestBody = UserCreateRequest\n```\nPostNodeUserJSONRequestBody defines body for PostNodeUser for application/json ContentType.\n\n```go\ntype PostNodeUserPassword200JSONResponse UserMutationResponse\n```\n\n```go\nfunc (response PostNodeUserPassword200JSONResponse) VisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserPassword400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserPassword400JSONResponse) VisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserPassword401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserPassword401JSONResponse) VisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserPassword403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserPassword403JSONResponse) VisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserPassword404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserPassword404JSONResponse) VisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserPassword500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserPassword500JSONResponse) VisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserPasswordJSONRequestBody = UserPasswordRequest\n```\nPostNodeUserPasswordJSONRequestBody defines body for PostNodeUserPassword for application/json ContentType.\n\n```go\ntype PostNodeUserPasswordRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     UserName `json:\"name\" validate:\"required,account_name\"`\n\tBody     *PostNodeUserPasswordJSONRequestBody\n}\n```\n\n```go\ntype PostNodeUserPasswordResponseObject interface {\n\tVisitPostNodeUserPasswordResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeUserRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tBody     *PostNodeUserJSONRequestBody\n}\n```\n\n```go\ntype PostNodeUserResponseObject interface {\n\tVisitPostNodeUserResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PostNodeUserSSHKey200JSONResponse SSHKeyMutationResponse\n```\n\n```go\nfunc (response PostNodeUserSSHKey200JSONResponse) VisitPostNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserSSHKey400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserSSHKey400JSONResponse) VisitPostNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserSSHKey401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserSSHKey401JSONResponse) VisitPostNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserSSHKey403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserSSHKey403JSONResponse) VisitPostNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserSSHKey500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeUserSSHKey500JSONResponse) VisitPostNodeUserSSHKeyResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeUserSSHKeyJSONRequestBody = SSHKeyAddRequest\n```\nPostNodeUserSSHKeyJSONRequestBody defines body for PostNodeUserSSHKey for application/json ContentType.\n\n```go\ntype PostNodeUserSSHKeyRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     UserName `json:\"name\" validate:\"required,account_name\"`\n\tBody     *PostNodeUserSSHKeyJSONRequestBody\n}\n```\n\n```go\ntype PostNodeUserSSHKeyResponseObject interface {\n\tVisitPostNodeUserSSHKeyResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PutNodeGroup200JSONResponse GroupMutationResponse\n```\n\n```go\nfunc (response PutNodeGroup200JSONResponse) VisitPutNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeGroup400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeGroup400JSONResponse) VisitPutNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeGroup401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeGroup401JSONResponse) VisitPutNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeGroup403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeGroup403JSONResponse) VisitPutNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeGroup404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeGroup404JSONResponse) VisitPutNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeGroup500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeGroup500JSONResponse) VisitPutNodeGroupResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeGroupJSONRequestBody = GroupUpdateRequest\n```\nPutNodeGroupJSONRequestBody defines body for PutNodeGroup for application/json ContentType.\n\n```go\ntype PutNodeGroupRequestObject struct {\n\tHostname Hostname  `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     GroupName `json:\"name\" validate:\"required,account_name\"`\n\tBody     *PutNodeGroupJSONRequestBody\n}\n```\n\n```go\ntype PutNodeGroupResponseObject interface {\n\tVisitPutNodeGroupResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PutNodeUser200JSONResponse UserMutationResponse\n```\n\n```go\nfunc (response PutNodeUser200JSONResponse) VisitPutNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeUser400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeUser400JSONResponse) VisitPutNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeUser401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeUser401JSONResponse) VisitPutNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeUser403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeUser403JSONResponse) VisitPutNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeUser404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeUser404JSONResponse) VisitPutNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeUser500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeUser500JSONResponse) VisitPutNodeUserResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeUserJSONRequestBody = UserUpdateRequest\n```\nPutNodeUserJSONRequestBody defines body for PutNodeUser for application/json ContentType.\n\n```go\ntype PutNodeUserRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     UserName `json:\"name\" validate:\"required,account_name\"`\n\tBody     *PutNodeUserJSONRequestBody\n}\n```\n\n```go\ntype PutNodeUserResponseObject interface {\n\tVisitPutNodeUserResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype RegisterHandlersOptions struct {\n\t// BaseURL is prepended to every registered path so the API can be served\n\t// under a prefix.\n\tBaseURL string\n\t// OperationMiddlewares lets the caller attach per-operation middleware at\n\t// registration time. The map key is the OpenAPI `operationId` value as it\n\t// appears in the spec (the raw, un-normalized form). Operations that have\n\t// no entry are registered with no extra middleware. A nil map disables\n\t// per-operation middleware entirely.\n\tOperationMiddlewares map[string][]echo.MiddlewareFunc\n}\n```\nRegisterHandlersOptions configures RegisterHandlersWithOptions.\n\n```go\ntype SSHKeyAddRequest struct {\n\t// Key Full SSH public key line (e.g., \"ssh-ed25519 AAAA... user@host\").\n\tKey string `json:\"key\" validate:\"required,min=1\"`\n}\n```\nSSHKeyAddRequest defines model for SSHKeyAddRequest.\n\n```go\ntype SSHKeyCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []SSHKeyEntry       `json:\"results\"`\n}\n```\nSSHKeyCollectionResponse defines model for SSHKeyCollectionResponse.\n\n```go\ntype SSHKeyEntry struct {\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Keys SSH authorized keys on this agent.\n\tKeys *[]SSHKeyInfo `json:\"keys,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus SSHKeyEntryStatus `json:\"status\"`\n}\n```\nSSHKeyEntry SSH key list result for a single agent.\n\n```go\ntype SSHKeyEntryStatus string\n```\nSSHKeyEntryStatus The status of the operation for this host.\n\n```go\nconst (\n\tSSHKeyEntryStatusFailed  SSHKeyEntryStatus = \"failed\"\n\tSSHKeyEntryStatusOk      SSHKeyEntryStatus = \"ok\"\n\tSSHKeyEntryStatusSkipped SSHKeyEntryStatus = \"skipped\"\n\tSSHKeyEntryStatusTimeout SSHKeyEntryStatus = \"timeout\"\n)\n```\nDefines values for SSHKeyEntryStatus.\n\n```go\nfunc (e SSHKeyEntryStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the SSHKeyEntryStatus enum.\n\n```go\ntype SSHKeyFingerprint = string\n```\nSSHKeyFingerprint defines model for SSHKeyFingerprint.\n\n```go\ntype SSHKeyInfo struct {\n\t// Comment Key comment (typically user@host).\n\tComment *string `json:\"comment,omitempty\"`\n\n\t// Fingerprint SHA256 fingerprint of the key.\n\tFingerprint *string `json:\"fingerprint,omitempty\"`\n\n\t// Type Key type (e.g., ssh-rsa, ssh-ed25519).\n\tType *string `json:\"type,omitempty\"`\n}\n```\nSSHKeyInfo An SSH authorized key entry.\n\n```go\ntype SSHKeyMutationEntry struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname The hostname of the agent.\n\tHostname string `json:\"hostname\"`\n\n\t// Status The status of the operation for this host.\n\tStatus SSHKeyMutationEntryStatus `json:\"status\"`\n}\n```\nSSHKeyMutationEntry SSH key mutation result for a single agent.\n\n```go\ntype SSHKeyMutationEntryStatus string\n```\nSSHKeyMutationEntryStatus The status of the operation for this host.\n\n```go\nconst (\n\tSSHKeyMutationEntryStatusFailed  SSHKeyMutationEntryStatus = \"failed\"\n\tSSHKeyMutationEntryStatusOk      SSHKeyMutationEntryStatus = \"ok\"\n\tSSHKeyMutationEntryStatusSkipped SSHKeyMutationEntryStatus = \"skipped\"\n\tSSHKeyMutationEntryStatusTimeout SSHKeyMutationEntryStatus = \"timeout\"\n)\n```\nDefines values for SSHKeyMutationEntryStatus.\n\n```go\nfunc (e SSHKeyMutationEntryStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the SSHKeyMutationEntryStatus enum.\n\n```go\ntype SSHKeyMutationResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID   `json:\"job_id,omitempty\"`\n\tResults []SSHKeyMutationEntry `json:\"results\"`\n}\n```\nSSHKeyMutationResponse defines model for SSHKeyMutationResponse.\n\n```go\ntype ServerInterface interface {\n\t// List all groups\n\t// (GET /api/node/{hostname}/group)\n\tGetNodeGroup(ctx *echo.Context, hostname Hostname) error\n\t// Create a group\n\t// (POST /api/node/{hostname}/group)\n\tPostNodeGroup(ctx *echo.Context, hostname Hostname) error\n\t// Delete a group\n\t// (DELETE /api/node/{hostname}/group/{name})\n\tDeleteNodeGroup(ctx *echo.Context, hostname Hostname, name GroupName) error\n\t// Get a group\n\t// (GET /api/node/{hostname}/group/{name})\n\tGetNodeGroupByName(ctx *echo.Context, hostname Hostname, name GroupName) error\n\t// Update a group\n\t// (PUT /api/node/{hostname}/group/{name})\n\tPutNodeGroup(ctx *echo.Context, hostname Hostname, name GroupName) error\n\t// List all users\n\t// (GET /api/node/{hostname}/user)\n\tGetNodeUser(ctx *echo.Context, hostname Hostname) error\n\t// Create a user\n\t// (POST /api/node/{hostname}/user)\n\tPostNodeUser(ctx *echo.Context, hostname Hostname) error\n\t// Delete a user\n\t// (DELETE /api/node/{hostname}/user/{name})\n\tDeleteNodeUser(ctx *echo.Context, hostname Hostname, name UserName) error\n\t// Get a user\n\t// (GET /api/node/{hostname}/user/{name})\n\tGetNodeUserByName(ctx *echo.Context, hostname Hostname, name UserName) error\n\t// Update a user\n\t// (PUT /api/node/{hostname}/user/{name})\n\tPutNodeUser(ctx *echo.Context, hostname Hostname, name UserName) error\n\t// Change user password\n\t// (POST /api/node/{hostname}/user/{name}/password)\n\tPostNodeUserPassword(ctx *echo.Context, hostname Hostname, name UserName) error\n\t// List SSH authorized keys\n\t// (GET /api/node/{hostname}/user/{name}/ssh-key)\n\tGetNodeUserSSHKey(ctx *echo.Context, hostname Hostname, name UserName) error\n\t// Add SSH authorized key\n\t// (POST /api/node/{hostname}/user/{name}/ssh-key)\n\tPostNodeUserSSHKey(ctx *echo.Context, hostname Hostname, name UserName) error\n\t// Remove SSH authorized key\n\t// (DELETE /api/node/{hostname}/user/{name}/ssh-key/{fingerprint})\n\tDeleteNodeUserSSHKey(ctx *echo.Context, hostname Hostname, name UserName, fingerprint SSHKeyFingerprint) error\n}\n```\nServerInterface represents all server handlers.\n\n```go\nfunc NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface\n```\n\n```go\ntype ServerInterfaceWrapper struct {\n\tHandler ServerInterface\n}\n```\nServerInterfaceWrapper converts echo contexts to parameters.\n\n```go\nfunc (w *ServerInterfaceWrapper) DeleteNodeGroup(ctx *echo.Context) error\n```\nDeleteNodeGroup converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) DeleteNodeUser(ctx *echo.Context) error\n```\nDeleteNodeUser converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) DeleteNodeUserSSHKey(ctx *echo.Context) error\n```\nDeleteNodeUserSSHKey converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeGroup(ctx *echo.Context) error\n```\nGetNodeGroup converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeGroupByName(ctx *echo.Context) error\n```\nGetNodeGroupByName converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeUser(ctx *echo.Context) error\n```\nGetNodeUser converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeUserByName(ctx *echo.Context) error\n```\nGetNodeUserByName converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeUserSSHKey(ctx *echo.Context) error\n```\nGetNodeUserSSHKey converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeGroup(ctx *echo.Context) error\n```\nPostNodeGroup converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeUser(ctx *echo.Context) error\n```\nPostNodeUser converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeUserPassword(ctx *echo.Context) error\n```\nPostNodeUserPassword converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeUserSSHKey(ctx *echo.Context) error\n```\nPostNodeUserSSHKey converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PutNodeGroup(ctx *echo.Context) error\n```\nPutNodeGroup converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PutNodeUser(ctx *echo.Context) error\n```\nPutNodeUser converts echo context to params.\n\n```go\ntype StrictHandlerFunc func(ctx *echo.Context, request any) (any, error)\n```\n\n```go\ntype StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc\n```\n\n```go\ntype StrictServerInterface interface {\n\t// List all groups\n\t// (GET /api/node/{hostname}/group)\n\tGetNodeGroup(ctx context.Context, request GetNodeGroupRequestObject) (GetNodeGroupResponseObject, error)\n\t// Create a group\n\t// (POST /api/node/{hostname}/group)\n\tPostNodeGroup(ctx context.Context, request PostNodeGroupRequestObject) (PostNodeGroupResponseObject, error)\n\t// Delete a group\n\t// (DELETE /api/node/{hostname}/group/{name})\n\tDeleteNodeGroup(ctx context.Context, request DeleteNodeGroupRequestObject) (DeleteNodeGroupResponseObject, error)\n\t// Get a group\n\t// (GET /api/node/{hostname}/group/{name})\n\tGetNodeGroupByName(ctx context.Context, request GetNodeGroupByNameRequestObject) (GetNodeGroupByNameResponseObject, error)\n\t// Update a group\n\t// (PUT /api/node/{hostname}/group/{name})\n\tPutNodeGroup(ctx context.Context, request PutNodeGroupRequestObject) (PutNodeGroupResponseObject, error)\n\t// List all users\n\t// (GET /api/node/{hostname}/user)\n\tGetNodeUser(ctx context.Context, request GetNodeUserRequestObject) (GetNodeUserResponseObject, error)\n\t// Create a user\n\t// (POST /api/node/{hostname}/user)\n\tPostNodeUser(ctx context.Context, request PostNodeUserRequestObject) (PostNodeUserResponseObject, error)\n\t// Delete a user\n\t// (DELETE /api/node/{hostname}/user/{name})\n\tDeleteNodeUser(ctx context.Context, request DeleteNodeUserRequestObject) (DeleteNodeUserResponseObject, error)\n\t// Get a user\n\t// (GET /api/node/{hostname}/user/{name})\n\tGetNodeUserByName(ctx context.Context, request GetNodeUserByNameRequestObject) (GetNodeUserByNameResponseObject, error)\n\t// Update a user\n\t// (PUT /api/node/{hostname}/user/{name})\n\tPutNodeUser(ctx context.Context, request PutNodeUserRequestObject) (PutNodeUserResponseObject, error)\n\t// Change user password\n\t// (POST /api/node/{hostname}/user/{name}/password)\n\tPostNodeUserPassword(ctx context.Context, request PostNodeUserPasswordRequestObject) (PostNodeUserPasswordResponseObject, error)\n\t// List SSH authorized keys\n\t// (GET /api/node/{hostname}/user/{name}/ssh-key)\n\tGetNodeUserSSHKey(ctx context.Context, request GetNodeUserSSHKeyRequestObject) (GetNodeUserSSHKeyResponseObject, error)\n\t// Add SSH authorized key\n\t// (POST /api/node/{hostname}/user/{name}/ssh-key)\n\tPostNodeUserSSHKey(ctx context.Context, request PostNodeUserSSHKeyRequestObject) (PostNodeUserSSHKeyResponseObject, error)\n\t// Remove SSH authorized key\n\t// (DELETE /api/node/{hostname}/user/{name}/ssh-key/{fingerprint})\n\tDeleteNodeUserSSHKey(ctx context.Context, request DeleteNodeUserSSHKeyRequestObject) (DeleteNodeUserSSHKeyResponseObject, error)\n}\n```\nStrictServerInterface represents all server handlers.\n\n```go\ntype UserCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []UserEntry         `json:\"results\"`\n}\n```\nUserCollectionResponse defines model for UserCollectionResponse.\n\n```go\ntype UserCreateRequest struct {\n\t// Gid Primary group ID. If omitted, a group matching the username is created.\n\tGid *int `json:\"gid,omitempty\" validate:\"omitempty,min=0\"`\n\n\t// Groups Supplementary group names.\n\tGroups *[]string `json:\"groups,omitempty\" validate:\"omitempty,dive,account_name\"`\n\n\t// Home Home directory path.\n\tHome *string `json:\"home,omitempty\" validate:\"omitempty,min=1\"`\n\n\t// Name Username for the new account. Must start with a lowercase letter or underscore, followed by lowercase letters, digits, underscores, or hyphens, with an optional trailing `$`; 32 characters or fewer.\n\tName string `json:\"name\" validate:\"required,account_name\"`\n\n\t// Password Initial password. Sent in plaintext over TLS, hashed by the controller before the job is stored, and never written to disk or logs in plaintext.\n\tPassword *string `json:\"password,omitempty\" validate:\"omitempty,min=1\"`\n\n\t// Shell Login shell path.\n\tShell *string `json:\"shell,omitempty\" validate:\"omitempty,min=1\"`\n\n\t// System Create a system account.\n\tSystem *bool `json:\"system,omitempty\" validate:\"omitempty\"`\n\n\t// Uid Numeric user ID. If omitted, the system assigns one.\n\tUid *int `json:\"uid,omitempty\" validate:\"omitempty,min=0\"`\n}\n```\nUserCreateRequest defines model for UserCreateRequest.\n\n```go\ntype UserEntry struct {\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname Hostname of the agent that reported this entry.\n\tHostname string `json:\"hostname\"`\n\n\t// Status The status of the operation for this host.\n\tStatus UserEntryStatus `json:\"status\"`\n\n\t// Users User accounts on this host.\n\tUsers *[]UserInfo `json:\"users,omitempty\"`\n}\n```\nUserEntry User listing result for one host.\n\n```go\ntype UserEntryStatus string\n```\nUserEntryStatus The status of the operation for this host.\n\n```go\nconst (\n\tUserEntryStatusFailed  UserEntryStatus = \"failed\"\n\tUserEntryStatusOk      UserEntryStatus = \"ok\"\n\tUserEntryStatusSkipped UserEntryStatus = \"skipped\"\n\tUserEntryStatusTimeout UserEntryStatus = \"timeout\"\n)\n```\nDefines values for UserEntryStatus.\n\n```go\nfunc (e UserEntryStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the UserEntryStatus enum.\n\n```go\ntype UserInfo struct {\n\t// Gid Primary group ID.\n\tGid *int `json:\"gid,omitempty\"`\n\n\t// Groups Supplementary group names.\n\tGroups *[]string `json:\"groups,omitempty\"`\n\n\t// Home Home directory path.\n\tHome *string `json:\"home,omitempty\"`\n\n\t// Locked Whether the account is locked.\n\tLocked *bool `json:\"locked,omitempty\"`\n\n\t// Name Username.\n\tName *string `json:\"name,omitempty\"`\n\n\t// Shell Login shell path.\n\tShell *string `json:\"shell,omitempty\"`\n\n\t// Uid Numeric user ID.\n\tUid *int `json:\"uid,omitempty\"`\n}\n```\nUserInfo A user account on the target node.\n\n```go\ntype UserMutationResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID  `json:\"job_id,omitempty\"`\n\tResults []UserMutationResult `json:\"results\"`\n}\n```\nUserMutationResponse defines model for UserMutationResponse.\n\n```go\ntype UserMutationResult struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname Hostname of the agent that processed this operation.\n\tHostname string `json:\"hostname\"`\n\n\t// Name Username.\n\tName *string `json:\"name,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus UserMutationResultStatus `json:\"status\"`\n}\n```\nUserMutationResult Result of a user create, update, delete, or password operation for one host.\n\n```go\ntype UserMutationResultStatus string\n```\nUserMutationResultStatus The status of the operation for this host.\n\n```go\nconst (\n\tUserMutationResultStatusFailed  UserMutationResultStatus = \"failed\"\n\tUserMutationResultStatusOk      UserMutationResultStatus = \"ok\"\n\tUserMutationResultStatusSkipped UserMutationResultStatus = \"skipped\"\n\tUserMutationResultStatusTimeout UserMutationResultStatus = \"timeout\"\n)\n```\nDefines values for UserMutationResultStatus.\n\n```go\nfunc (e UserMutationResultStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the UserMutationResultStatus enum.\n\n```go\ntype UserName = string\n```\nUserName defines model for UserName.\n\n```go\ntype UserPasswordRequest struct {\n\t// Password New password. Sent in plaintext over TLS, hashed by the controller before the job is stored, and never written to disk or logs in plaintext.\n\tPassword string `json:\"password\" validate:\"required,min=1\"`\n}\n```\nUserPasswordRequest defines model for UserPasswordRequest.\n\n```go\ntype UserUpdateRequest struct {\n\t// Groups Supplementary group names (replaces existing).\n\tGroups *[]string `json:\"groups,omitempty\" validate:\"omitempty,dive,account_name\"`\n\n\t// Home New home directory path.\n\tHome *string `json:\"home,omitempty\" validate:\"omitempty,min=1\"`\n\n\t// Lock Lock or unlock the account.\n\tLock *bool `json:\"lock,omitempty\" validate:\"omitempty\"`\n\n\t// Shell New login shell path.\n\tShell *string `json:\"shell,omitempty\" validate:\"omitempty,min=1\"`\n}\n```\nUserUpdateRequest defines model for UserUpdateRequest.\n\n","path":"github.com/osapi-io/osapi/internal/controller/api/node/user/gen","name":"gen","synopsis":"Package gen contains generated code for the user and group API.","isRedistributable":true}
