Class: Google::Apis::MigrationcenterV1alpha1::OpenFileDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

Open file Information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OpenFileDetails

Returns a new instance of OpenFileDetails.



1972
1973
1974
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1972

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#commandString

Opened file command. Corresponds to the JSON property command

Returns:

  • (String)


1955
1956
1957
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1955

def command
  @command
end

#file_pathString

Opened file file path. Corresponds to the JSON property filePath

Returns:

  • (String)


1960
1961
1962
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1960

def file_path
  @file_path
end

#file_typeString

Opened file file type. Corresponds to the JSON property fileType

Returns:

  • (String)


1965
1966
1967
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1965

def file_type
  @file_type
end

#userString

Opened file user. Corresponds to the JSON property user

Returns:

  • (String)


1970
1971
1972
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1970

def user
  @user
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1977
1978
1979
1980
1981
1982
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1977

def update!(**args)
  @command = args[:command] if args.key?(:command)
  @file_path = args[:file_path] if args.key?(:file_path)
  @file_type = args[:file_type] if args.key?(:file_type)
  @user = args[:user] if args.key?(:user)
end